Hi,
I've used Javascript to manipulate the DOM of HTML pages, such as creating and appending new HTML elements to add new input fields, divs, etc to the HTML page. I want to do the same with Javascript and PHP pages, I've been told I can do this with AJAX. Can you please point me to some easy tutorials online and tips for manipulating the DOM in PHP pages with AJAX?
Where do I start? Once I use an XMLHttpRequest object, can I manipulate the DOM in a PHP page just as I would manipulate the DOM in an HTML page, or are there other steps which must be taken?
Thanks!
I've used Javascript to manipulate the DOM of HTML pages, such as creating and appending new HTML elements to add new input fields, divs, etc to the HTML page. I want to do the same with Javascript and PHP pages, I've been told I can do this with AJAX. Can you please point me to some easy tutorials online and tips for manipulating the DOM in PHP pages with AJAX?
Where do I start? Once I use an XMLHttpRequest object, can I manipulate the DOM in a PHP page just as I would manipulate the DOM in an HTML page, or are there other steps which must be taken?
Thanks!