87,921
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<script type="text/javascript">
var version = "";
</script>
<!--[if IE 6]>
<script type="text/javascript">
version = "ie6";
</script>
<![endif]-->
<!--[if IE 7]>
<script type="text/javascript">
version = "ie7";
</script>
<![endif]-->
<script type="text/javascript">
alert(version);
</script>
</body>
</html>