<html>
<head>
</head>
<body>
<select id="sex">
<option>男</option>
<option>女</option>
</select>
<script language="javascript" type="text/javascript">
$(document).ready(function () {
$("#sex").change(function () {
//change事件
});
});
</script>
</body>
<html>
<head>
<script language="javascript" type="text/javascript">
$(document).ready(function () {
$("#sex").change(function () {
//change事件
});
});
</script>
</head>
<body>
<select id="sex">
<option>男</option>
<option>女</option>
</select>
</body>
欢迎光临 苏飞论坛 (http://www.sufeinet.com/) | Powered by Discuz! X3.4 |