How set the value of an HTML (not form) element using Javascript?
Hi,
How do I set the value (i.e. the contents) of an HTML element (such as p or div) using Javascript? I can't do this using server side (ASP, PHP etc.) because the value is calculated and possibly changed multiple times by user action in the browser. I don't want to use form fields since they look as if the user can enter data into them, even if I set them to read only. There must be a way of doing this using the DOM, but I can't find it...
Bookmarks