dcsimg
How to change a label on a html page using javascript
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kate_Murphy
Posted On:   Tuesday, February 5, 2002 08:18 AM

I would like to dynamically change a label on an html page. How can I do this using Javascript?

Re: How to change a label on a html page using javascript

Posted By:   Nitesh_Naveen  
Posted On:   Tuesday, February 5, 2002 11:24 AM

put this text you want as a label inside a div tag.
the content of this div tag can be accessed in IE by
document.all["divId"].innerHTML="newLabel"
and in netscpae by
document.divId.document.write("newLabel")
About | Sitemap | Contact