日期:2014-05-17  浏览次数:20722 次

这段代码竟然在IE7里没反映
<!DOCTYPE   HTML   PUBLIC   "-//W3C//DTD   HTML   4.0   Transitional//EN ">
<HTML>
<HEAD>
<TITLE>   New   Document   </TITLE>
<META   NAME= "Generator "   CONTENT= "EditPlus ">
<META   NAME= "Author "   CONTENT= " ">
<META   NAME= "Keywords "   CONTENT= " ">
<META   NAME= "Description "   CONTENT= " ">
<SCRIPT   LANGUAGE= "JavaScript ">
<!--
function   test(){
        window.alert(window.navigator.appName);
}
//-->
</SCRIPT>
</HEAD>

<BODY   onload= "test(); ">
</BODY>
</HTML>


------解决方案--------------------
我试了一下可以呀, 弹出 Microsoft Internet Explorer