Method 1: (only for ie)
function CheckStatus(url)
{
XMLHTTP = new ActiveXObject("Microsoft.XMLHTTP")
XMLHTTP.open("HEAD",url,false)
XMLHTTP. send ()
}
Method 2: (Using jquery, applicable to all browsers)
Copy code cache: false,
url: "http://www.jb51.net",
data: "",
success: function() {
() {
}