0

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

3 Answers 3

1

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');
}
});
Sign up to request clarification or add additional context in comments.

Comments

0

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.

Comments

0

You can use this code.

 $.ajax({
    type: "GET", 
    url: "https://someurl"
    succss:function(){
        alert('Everything is OK');
    },
    error:function(error){
        console.log(error);
    }
});

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.