1
2
3
4
5
6
7
8
9
10
<td> <select name="awardsRank" id="rank${id }"> <option value="-1">1</option> <option value="0">2</option> <option value="1">3</option> <option value="2">4</option> </select> </td> <td> <input name="" type="button" onclick="voteBut(${id})" value="确认" /> </td>
<script type="text/javascript"> function voteBut(obj){ var rank = $("#rank"+obj).val(); } </script>
时间: 2024-10-12 21:40:05