javascript 一个输入框 两种查询方式 两种查询结果
php+ja
vascript 实现一个输入框 两种查询方式 两种查询结果。网站功能开发,仿站,疑难编程,联系专业工程师 QQ467477957



<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<style type="text/css">
#topage{
width:260px;
height:24px;
}
</style>
<script>
function goClick(){
location.href = "list.action?page="+document.getElementById("topage").value;
}
</script>
</head>
<form action="a.php" method="post" name="form1">
<input name="topage" id="topage" size="10" >
<a href="#" onClick="goClick()">go</a>
<input name="seaech" type="submit" value="搜索">
</form>