Checking and unchecking radio buttons with Jquery Mobile

后端 未结 5 1359
说谎
说谎 2021-01-02 09:03

I can\'t check a set of checkboxes programatically with jquery mobile, I have the following code:

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-02 09:44

    in Jquery mobile radio button refresh like this:

    $(".iscfieldset input[type='radio']:first").attr("checked", "checked");
    
    
        $(".iscfieldset input[type='radio']").checkboxradio().checkboxradio("refresh"); 
    

    try this working fine for me

提交回复
热议问题