1、打开页面 获取选中的radio的值:
<div class="row">
<label></label>
<input name="bid_percentage_type" value="1" type="radio" checked="checked">系统规则
<input name="bid_percentage_type" value="2" type="radio">固定比例
</div>
var d = $("#EbayCampaignListItem_Add input[name='bid_percentage_type']:checked").val();
本文介绍了一种通过jQuery获取HTML页面上被选中radio按钮值的方法。具体实现为使用jQuery选择器定位到特定的input元素并获取其value属性。
1179

被折叠的 条评论
为什么被折叠?



