To Change just one part of an HTML page without having to reload the whole page...
In the HTML part:
the section you want to be able to change
<div id="somename">start text optional</div>
In the Javascript:
somename.innerHTML="new text";
When the javascript is excuted the "new text" will replace the "start text optional". If you left out the start text, then the "new text" will push it's way onto the page where you told it to.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.