Can i change the text inside the DIV tag on the fly?
Suppose if i click a button the content inside the DIV tag should change.
How can u do this . It should work both with IE and Netscape.
Please let me know it is very urgent.
Printable View
Can i change the text inside the DIV tag on the fly?
Suppose if i click a button the content inside the DIV tag should change.
How can u do this . It should work both with IE and Netscape.
Please let me know it is very urgent.
Only do-able in IE (I believe)
<DIV id="myDiv">some text.</div>
and the script:
document.myDiv.innerText = "new text."
NeoWorx Inc.
Makers of NeoTrace, NeoLite, and other upcoming products
http://www.neoworx.com/