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. Quote 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; Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.