I'm receiving the error "access to restricted uri denied line 3395" Making an ajax call to a web service using jQuery. The web service resides on a server that also has a javascript file with calls to the various web methods. Each web method has a corresponding javascript function that calls (exposes) it. This javascript file is then included in the clients (that may or may not be on the same domain) that need access to the web service. Using jQuery to do the ajax calls. Receivng the error "access to restricted uri denied line 3395" in firefox 3.0.12. Everything works fine in IE7. The error occurs on the following code:
$.ajax({ //type: "POST", type: "GET", url: "http://localhost:4000/abc.asmx/Method1", data: params , timeout: 10000, async:false, contentType: "application/json; charset=utf-8", dataType: "json", success: function(msg) { //Success callback function id = msg; }, error: function(xhr, ajaxOptions, thrownError) { //Fail callback function alert(xhr.status); alert(thrownError); } }); return id; --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---