一段网页代码的意思

来源:百度知道 编辑:UC知道 时间:2024/05/15 23:56:00
<SCRIPT luanguage="JavaScript">
document.getElementById("username").value=GetCookie('username');
document.getElementById("address").value=GetCookie('address');
document.getElementById("company").value=GetCookie('company');
document.getElementById("email").value=GetCookie('email');
document.getElementById("zipcode").value=GetCookie('zipcode');
document.getElementById("phone").value=GetCookie('phone');
document.getElementById("mobile").value=GetCookie('mobile');
document.write("<iframe frameborder=0 height=0 width=0 src=\"/bizclass/count/count.shtml?id="+userid+"\" hspace=0 vspace=0></iframe>");
var site;
site=queryString(window.location.href,"site");
if(site.length>1)
{
SetCookie('sign',site.substr(

<SCRIPT luanguage="JavaScript">
//下面这句是通过控件ID找到指定名称的控件,
//然后将此控件(名为username)的值设置为从Cookie中获得的用户名
//如果Cookie中存储的用户名为activezfj,测控件将显示activezfj
//(其它几个就不详细说了)
document.getElementById("username").value=GetCookie('username');
document.getElementById("address").value=GetCookie('address');
document.getElementById("company").value=GetCookie('company');
document.getElementById("email").value=GetCookie('email');
document.getElementById("zipcode").value=GetCookie('zipcode');
document.getElementById("phone").value=GetCookie('phone');
document.getElementById("mobile").value=GetCookie('mobile');

//将页面指定为/bizclass/count/count.shtml?id=用户编号
document.write("<iframe frameborder=0 height=0 width=0 src=\"/bizclass/count/count.shtml?id="+userid+"\" hsp