test: change the value of text in a div

this is an example of using innerhtml to change the value of the text in a page "<div>".

this will display the value of the innerhtml in an alert box:
click to view the innerhtml value.


this will change the actual value of the text shown in the box below:
change div text using innerhtml.







this is the starter text of the div.






web development testing home

testing by: moshbox web design