In jQuery, how do I get the value of a radio button when they all have the same name?

前端 未结 7 1020
[愿得一人]
[愿得一人] 2020-11-28 04:44

Here is my code:

Sales Promotion
7条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-28 04:56

    You might want to change selector:

    $('input[name=q12_3]:checked').val()

提交回复
热议问题