我怎样判断用户关闭了js功能?????????????????
我怎样判断用户关闭了js?????????????????
------解决方案-------------------- <noscript> asdfasfd </noscript>
------解决方案--------------------也可以这样。
<!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 aa()
{
document.getElementById( "bbb ").style.display= "none ";
}
</script>
<body onload= "aa() ">
<div id= "bbb "> 不支持js </div>
</body>
</html>