If you have a div tag like this:
then you can update text in IE using something like this:
document.all.updateText.innerHTML="new text";
and in Mozilla/Netscape using
document.getElementById("updateText").innerHTML="new text";
Neither work in Opera
Anyone got a better solution?
Thanks
Cat
Code:
<div ID="updateText">Original text</div>
then you can update text in IE using something like this:
document.all.updateText.innerHTML="new text";
and in Mozilla/Netscape using
document.getElementById("updateText").innerHTML="new text";
Neither work in Opera
Anyone got a better solution?
Thanks
Cat