kks_krishna Posted July 13, 2007 Share Posted July 13, 2007 HI, I am getting the values from PHP file using AJAX. How can I change the Page dynamically. Link to comment https://forums.phpfreaks.com/topic/59739-changing-the-part-of-page/ Share on other sites More sharing options...
RichardRotterdam Posted July 21, 2007 Share Posted July 21, 2007 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; Link to comment https://forums.phpfreaks.com/topic/59739-changing-the-part-of-page/#findComment-303801 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.