[jQuery] Simple jQuery AJAX, going crazy.

[jQuery] Simple jQuery AJAX, going crazy.


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 doesn't process anything, but the problem is I
never get any of the alerts. The AJAX request succeeds according to
Firebug. Does anyone see what I'm doing wrong?
Thanks in advance!