标签:sel ted name 按钮 pre rap for selected method
获取一组单选按钮对象:
var obj_payPlatform = $(‘#wrap input[name="payMethod"]‘);
获取被选中按钮的值 :
var val_payPlatform = $(‘#wrap input[name="payMethod"]:checked ‘).val();
获取select的值
"typeId":$("#typeId option:selected").val()},
标签:sel ted name 按钮 pre rap for selected method
原文地址:https://www.cnblogs.com/powangxu/p/10315333.html