I've written some stuff using
but now I want to remove everything that I have presviously written. Any Ideas? Plz comment...Code:parent.document.write ("");
Printable View
I've written some stuff using
but now I want to remove everything that I have presviously written. Any Ideas? Plz comment...Code:parent.document.write ("");
var yourString='write whatever you need';
parent.document.write ("yourString");
yourString='';
parent.document.write ("yourString");
My problem is that when I run it (in the way you suggested, which I had before anyway), it appends the text to what i already have instead of replacing the previous content. Now here is the kicker:
I ran the same page (literally) on Mac IE 4.5 and it works fine (ie. replaces the previos content) but on my Win ME IE 5.5 it appends... so I was looking for a way to guarantee that it would replace. But now I'm thinking maybe my browser is corrupt oe somwthing.... any ideas?!? PLZ!!!!
THNX in advance
If you'll be more specific and show us more of your code
here, than we can take a deeper look into this problem.:confused: