我在模板中工作,因此无法直接编辑 HTML。单选按钮项目会自动从最大到最小排序,但我希望它们从最小到最大出现。
<tbody>
<tr class="CTsubtitle">
<td width="1%"><font class="CTtablein"> </font></td>
<td><font class="CTtablein">Level</font></td>
</tr>
<tr class="CTodd"><td nowrap=""><font class="CT">
<input type="radio" id="Radio1" onclick="SetAmount(form, 500);" value="749500" name="PledgeLevelID">
</font></td>
<td><font class="CT">$500.00 (becomes $1000.00 when matched) </font><br></td>
</tr>
<tr class="CTeven"><td nowrap=""><font class="CT">
<input type="radio" id="Radio1" onclick="SetAmount(form, 250);" value="749511" name="PledgeLevelID"> </font></td>
<td><font class="CT">$250.00 (becomes $500 when matched) </font><br></td>
</tr>
<tr class="CTodd"><td nowrap=""><font class="CT">
<input type="radio" id="Radio1" onclick="SetAmount(form, 100);" value="749499" name="PledgeLevelID"> </font></td>
<td><font class="CT">$100.00 (becomes $200 when matched) </font><br></td>
</tr>
</tbody>
我一直在提琴手使用这个例子:http: //jsfiddle.net/HELUq/1/