why does $.ajax(..) not work for me?
- by dr jerry
I'm running jquery from a file. And I'm trying to load a svg file from my localhost to populate a svg canvas. However that does not work as expected.
What I do from filesystem:
$.ajax({ url: url ,
timeout: 1000,
complete: function(xml) {
alert('complete');
},
success: function(xml, status, xreq) {
alert('success');
…