Opened 9 years ago
Closed 9 years ago
#14412 closed bug (notabug)
Ajax on phonegap error URL Domain Name with Between
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This example on PhoneGap $.mobile.allowCrossDomainPages = true set
$.ajax({
type: "POST", url: "http://www.example-name.com", data: data, success: function(responseText) {
console.log("Result: " + responseText);
}, error: function(jqXHR, textStatus, errorThrown){
This error always exec console.log("Error request");
}
});
Note: See
TracTickets for help on using
tickets.
Please ask for help on stackoverflow, the jQuery forums, or in the #jquery irc channel.