I write this simple code. I check it by using firefox and firebug and firebug gives me that the request is successful. But I don't see the box "ok!"??? So what is the problem?
$.ajax({ type: "GET", url: "feed.xml", dataType: "json", success: function(msg){ alert("ok!"); } }); I try another way. $.getJSON("feed.xml", function(json){ alert("ok!'); }); and there is the same problem. So how can I solve it? Here is the complete file: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> <script language="javascript" src="jquery.js"></script> </head> <body> <script language="javascript"> $.ajax({ type: "GET", url: "feed.xml", dataType: "json", success: function(msg){ alert("ok!"); } }); $.getJSON("feed.xml", function(json){ alert("ok!"); }); </script> </body> </html> I don't know what happens!