日期:2014-05-16 浏览次数:20717 次
<script language="javascript" src="http://www.coding123.net/js/jquery.js"></script>
<input type = "radio" id = "time" name = "searchTime" checked>
<select id = recentTime>
<option selected>全部时间</option>
<option>最近一天</option>
<option>最近一周</option>
<option>最近一月</option>
<option>最近一年</option>
</select>
<input type = "radio" id = "time" name = "searchTime">
<select id = recentTime>
<option selected>全部时间</option>
<option>最近一天</option>
<option>最近两天</option>
<option>最近三天</option>
</select>
<input type="button" value="获取值" onclick="alert($(':radio:checked').next('select').val())" />