Feb 23, 2001 #1 iooo Programmer Dec 27, 2000 31 CA HI I want to display the text dynamically. <div id=aa> hai </div> <script> aa.innettext = hello </script> this works in Internet Explorer but this does not work in Netscape .. what should i do to dispaly text dynamically in Netscape any one please help me Thanks
HI I want to display the text dynamically. <div id=aa> hai </div> <script> aa.innettext = hello </script> this works in Internet Explorer but this does not work in Netscape .. what should i do to dispaly text dynamically in Netscape any one please help me Thanks
Feb 23, 2001 1 #2 jaredn Programmer Sep 1, 1999 1,506 US you will probably get more help in the javascript forum: http://www.tek-tips.com/gthreadminder.cfm/lev2/0/lev3/0/pid/216 but just so you know, netscape4.x does not support any means for doing this except: document.layers.layername.document.write('hello') where, layername is the name of an absolutely positioned layer. in netscape 6, you can use: document.getElementById("aa".innerHTML='hello' and it does not have to be absolutely positioned jaredn@subdimension.com - http://webfx.eae.net Upvote 0 Downvote
you will probably get more help in the javascript forum: http://www.tek-tips.com/gthreadminder.cfm/lev2/0/lev3/0/pid/216 but just so you know, netscape4.x does not support any means for doing this except: document.layers.layername.document.write('hello') where, layername is the name of an absolutely positioned layer. in netscape 6, you can use: document.getElementById("aa".innerHTML='hello' and it does not have to be absolutely positioned jaredn@subdimension.com - http://webfx.eae.net
Feb 23, 2001 Thread starter #3 iooo Programmer Dec 27, 2000 31 CA Hi will this work in IE also Upvote 0 Downvote