JQuery + Ajax. Can you import XML from a script?
I know in ajax you can do the following, but my question is instead of sites.xml, can you use a python script 'script.py' to generate an xml object and pass it back to Ajax?
$.ajax({ type: "GET", url: "sites.xml", dataType: "xml", success: function(xml) { } }); |