jQuery.ajax bug on FF and Opera
Hi,
I am getting bugs on using jQuery.ajax() on FF and Opera. FF is not
responding at all, and Opera is giving an error, where IE and Safari
are fine.
Here's a link to example code showing the bug :-
http://www.aarongray.org/jQuery/ajax-bug/jQuery-AJAX-test.html
It should put up an 'alert()' box.
And here's the code :-
<html>
<head>
<script src="jquery-1.2.6.js"></script>
</head>
<body>
<script>
jQuery.ajax({
url: "http://www.aarongray.org/jQuery/ajax-bug/example.xml",
type: "GET",
dataType: "xml",
success: function()
{
alert( "success")
},
error: function()
{
alert( "error")
},
complete: function()
{
alert( "complete")
}
});
</script>
</body>
</html>
Regards,
Aaron