Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
120
rated 0 times [  123] [ 3]  / answers: 1 / hits: 34009  / 14 Years ago, wed, july 21, 2010, 12:00:00

How to get HTTP status code of another site with JavaScript?


More From » http

 Answers
34

I assume JavaScript, with JQuery, which simplifies AJAX requests alot, like this.



$.ajax({
url: 'url',
type: 'GET',
complete: function(transport) {
doing whatever..
}
});

[#96156] Monday, July 19, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mariselas

Total Points: 711
Total Questions: 117
Total Answers: 110

Location: Burkina Faso
Member since Thu, Dec 23, 2021
3 Years ago
;