How to reset radiobuttons in jQuery so that none is checked

后端 未结 13 823
一个人的身影
一个人的身影 2020-11-29 16:35

I have radio buttons in HTML like this:


    1
    

        
13条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-29 17:30

    Set all radio buttons back to the default:

    $("input[name='correctAnswer']").checkboxradio( "refresh" );
    

提交回复
热议问题