XML Ajax responses
Posted:
Thu Sep 07, 2006 12:45 pm
by casak
Nobody has responded to my previous topic "Dynamic-view-content": I propose the problem in different way: in the "Ajax-dynamic-list" example I want to have the list of the countries in XML format and parsing this result in a table and view this table in a < div > using the innerHTML method. On the Web I found only xml examples with xmlHTTPRequest.
Any idea with sack? Thanks Nico
Posted:
Thu Sep 07, 2006 2:03 pm
by Batalf
Hello Casak,
With the ajax-dynamic-list script, can't you solve this by outputting data in XML format from the server, i.e. in the ajax-list-countries.php file.
Then you need to create a routine which parses the XML output in ajax-dynamic-list.js
Javascript XML parsing
Posted:
Thu Sep 07, 2006 4:31 pm
by casak
I have not skills for js xml parsing.
Is this good?
http://xmljs.sourceforge.net/
I view in sack documentation the responseXML variable. Do I use this?
Help me to start.....
bye
Nico