4,007
社区成员
发帖
与我相关
我的任务
分享
<script language="vbscript">
Sub window_onload()
Dim s
s = location.search
s = Right(s,Len(s)-1)
If s="1" Then
MsgBox True
Else
MsgBox False
End If
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script language="javascript">
function jikongconnect()
{
window.open("http://172.21.62.180:8080/gdkOA/aa.html?"+document.bb.tes.value);
}
</script>
</head>
<body>
<form name="bb" id="bb">
<table><tr>
<td width="139" align="left" onclick="jikongconnect()" valign="bottom"> <input type="hidden" name="tes" id="tes" value="1" /><font color="#999999">生产集控系统</font></td></tr></table>
</form>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body>
<script language="javascript">
window.onload=function(){
var s = location.search;
s = s.substr(1,s.length-1);
alert(s=="1");
}
</script>
</body>
</html>