Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display text dyamically. 1

Status
Not open for further replies.

iooo

Programmer
Dec 27, 2000
31
0
0
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






 
you will probably get more help in the javascript forum:


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(&quot;aa&quot;).innerHTML='hello'

and it does not have to be absolutely positioned jaredn@subdimension.com -
 
Hi

will this work in IE also
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top