<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body>
<form action="2.php" method="get">
<select name="select"
οnchange="fuzhi(this.options[this.selectedIndex].text)">
<option value="1">分隔符</option>
<option value="2">撒旦发</option>
<option value="3">值一</option>
</select>
<input type="hidden" id="select_content" name="select_content" />
<input type="submit" name="button" id="button" value="查询" />
</form>
<script language="javascript">
function fuzhi(a){
document.getElementById("select_content").value=a;//赋值,咚咚
}
</script>
</body>
</html>
<pre name="code" class="html"><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
echo $_GET['select'];
echo $_GET['select_content'];
?>
http://www.palmdy.com