Bootstrap radio button: Get selected value on submit form

后端 未结 6 1561
春和景丽
春和景丽 2021-02-04 00:20

I have the next boostrap radio-button:

6条回答
  •  伪装坚强ぢ
    2021-02-04 00:58

    Try this out, It should solve your problem.

    $( "input:checked" ).val()
    

    you can refer the link below for more details:
    http://api.jquery.com/checked-selector/

提交回复
热议问题