Can Javascript directly handle an xml file requested via AJAX. I have a server side xml file and need to populate fields from this xml. Can i say ‘directly read “xmlfile.xml” (on server)’ and then extract values in javascript from the response received and populate as required? Can you explain with example if possible?
Share
If you can use jQuery, you can simply perform an
XMLAJAX call, and respond with the static file.Just be carefull: