[jQuery] Simple jQuery AJAX, going crazy.

2008-02-25 Thread spr
I have this AJAX request: $(function() { $.ajax({ type: "GET", url: "xml.php", dataType: "xml", success: function(xml){ alert('success'); }, error: function(){ alert('error'); }}); }); Firebug says it succeeds, but there aren'

[jQuery] Simple jQuery AJAX, going crazy.

2008-02-25 Thread spr
Hi, I'm trying to retrieve some XML with jQuery and process it. Following the tutorials I got this: $(function() { $.ajax({ type: "GET", url: "xml.php", dataType: "xml", success: function(xml){ alert('success'); }, error: function(){ alert('error'); }}); }); Now, of course, this d