别用关键字<%@LANGUAGE="vbscript" CODEPAGE="936"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
<title>无标题文档 </title> 
</head> 
<script language="javascript"> 
function status1() 

alert('11'); 

</script> 
<body> 
<input type="text" onblur="status1()"> 
</body> 
</html> 

解决方案 »

  1.   

    <%@LANGUAGE="vbscript" CODEPAGE="936"%> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
    <title>无标题文档 </title> 
    </head> 
    <script language="javascript"> 
    function showstatus() 

    alert('11'); 

    </script> 
    <body> 
    <input type="text" onblur="showstatus()"> 
    </body> 
    </html> status是window的一个属性,可能冲突了。换个名字。