Jump to content

Changing the part of page


kks_krishna

Recommended Posts

with the javascript DOM functions

//this will change the html inside a element  with the id myElement example(<div id="myElemen"></div>)
document.getElementById('myElement').innerHTML;

//this will change the value inside am input with the id myElement example(<div id="myElemen"></div>)
document.getElementById('myElement').value;

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.