Reputation: 4967
Can anybody tell How to call https url ajax request in java script or jquery
is it possible to check iframe url is loaded or some error in server?
Thanks
Upvotes: 0
Views: 746
Reputation: 1697
It may be helpful for you.
$.ajax({
type: "GET",
url: "yoururl", // like url/methodname
params : {Id : "1"} // pass data to method
succss:function(){
alert('Sucessfully');
}
error:function(error){
alert('Error');
}
});
Upvotes: 1
Reputation: 880
You can use this code.
$.ajax({
type: "GET",
url: "https://someurl"
succss:function(){
alert('Everything is OK');
},
error:function(error){
console.log(error);
}
});
Upvotes: 0
Reputation: 3767
http://api.jquery.com/jquery.ajax/
and
http://www.w3schools.com/xml/dom_http.asp
is probably what you are looking for, but you have to be a little more specific.
Upvotes: 0