Hi all, in order to experiment with AJAX, I created a site called Rob's Easy Budget Tool (http://budget.edgerob.net). Check it out if ya like. I found its functionality useful so I made it available to all as well as source code & resources used.
In the course of making this site, I ran into a question. I exclusively use responseText to receive PHP backend responses. However, I ran into some limitations with this. If I wanted to update two different areas of the page for example, I had to do two separate xmlhttp queries with two separate responseTexts. This seemed wasteful. With responseXML, would I be able to get separate blocks of code with the same xmlhttp object request?
Is one method preferred / faster than the other? For example, to fill a table, I have PHP generate the table and return that as a block of HTML code in responseText. Is there a benefit to using responseXml to return the data, then JScript to create a table from that data?
Anyones experiences or opinions on this would be appreciated. Thanks all