求大神分析一下代码
下面小代码 linux 火狐浏览器观测代码
post 时产生表单数据
x:...
y:....
sid:..
pwd:...
msk ...
sid pwd msk 可以理解,但是 x,y怎样得来的,而且x y 的数据每次都不一样,求大神分析下
下面是主要代码
function sid_KeyPress()
{
if(event.keyCode<=122 && event.keyCode>=97)
event.keyCode=event.keyCode-32
}
function iform_onkeydown()
{
if(event.keyCode==13)
return Checkid();
}
function fGetCode()
{
document.getElementById("chkCode").src="/logon/rndnum.asp";
}
function closewin()
{
this.window.opener=null;
window.close();
}
</script>
</head>
<body>
<div id="BodyBg">
<img src="images/bg.jpg" class="stretch" style="position:absolute;top:0;left:0;right:1024;bottom:768;z-index:-10">
</div>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle">
<table width="628" border="0" cellspacing="0" cellpadding="0" height="348" background="images/logonbox.gif">
<form method="POST" name="iform" action="ec_logon.asp" onsubmit="return chkForm()">
<tr>
<td height="94" width="348"></td>
<td width="20"></td>
<td width="66"></td>
<td width="36"></td>
<td width="86"></td>
<td width="72"></td>
</tr>
<tr>
<td height="22"></td>
<td></td>
<td colspan="3"><input type="text" name="sid" size="24" maxlength="10" onKeypress="return sid_KeyPress()"></td>
<td></td>
</tr>
<tr>
<td height="16"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
&