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() {
() {
}
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn