javascript - on pagebeforeshow need to check the checkbox using name and value in jquery mobile -
On the page Hi, jquery mobile needs to check the checkbox using the name and value, is it possible? Can someone please help me? Thank you. I have tried, but I am not able to do it. You were too much on your first attempt. When setting the checked property, set it to check instead of the correct: After refreshing the JQM widget: So now the whole line is One task here Click on the page 2 button and check that the patient has been examined . $ ('check' [name = checkbox-v-1] [value = "lang-js prettyprint-override" patient.] ') Sahara ("check", true) ;
.prop ("checked", "checked")
< / P> .checkboxradio ("Refresh")
$ ('input: checkbox [name = "checkbox-V-1"] [value = "patient"]). Prop ("check", "checked"). Checkbox drawer ("refresh");
Comments
Post a Comment