<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>通过超链接提交表单-中国站长站www.alixixi.com</title>
</head>
<body>
<form name="welcomeform" method="post" action="welcome.asp">
<p align="left">昵称:<input name="nickname" size="20">
密码:<input name="password" size="20"><a href="#" onclick="javascript:checkvalue();return false;">登录</a></p>
<script LANGUAGE="JavaScript">
function checkvalue()
{
if(document.welcomeform.nickname.value=="")
{
alert("昵称不能为空!");
return(false);
}
if(document.welcomeform.password.value=="")
{
alert("密码不能为空!");
return(false);
}
document.welcomeform.submit();
return(true);
}
</script>
</form>
</body>
</html>
<a href="http://www.alixixi.com/Dev/HTML/jsrun/">欢迎访问阿里西西网页特效集</a>
留言列表