Side navigation
#13096 closed bug (notabug)
Opened December 20, 2012 10:56AM UTC
Closed December 20, 2012 01:51PM UTC
No transport error while getting XML data from live HTTP url
Reported by: | bhattjalp3@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello friends,
I am trying to get XML data from http url using jQuery $.ajax call but i am not able to get the success response from the server and it always saw me a No transport error.
Here is my $.ajax call code snippet:
$.ajax({ type : "GET", dataType : "xml", url : "http://vrsspl.com/SKU/phone_calls.xml", success : function(response, textStatus, jqXHR) { alert("Success-response: " + response + "status: " + textStatus + "jqXHR: " + jqXHR); }, crossDomain : true, contentType : "application/x-www-form-urlencoded", async : true, error : function(jqXHR, textStatus, errorThrown) { alert("jqXHR: " + jqXHR.status + " status: " + textStatus + " error: " + errorThrown); } });
When i do some googling at that time i have suggested to do this jQuery.support.cors = true; but not succeeded in this .
Any help on this is highly appreciated.
Thanks,
jalp.
Attachments (0)
Change History (1)
Changed December 20, 2012 01:51PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
This is not a bug report. Please ask for help on a forum.