You need to refresh it after changing its’ .prop
, using .checkboxradio('refresh')
. This is the correct way to check checkbox/radio in jQuery Mobile.
$('.selector').prop('checked', true).checkboxradio('refresh');
Reference: jQuery Mobile API
More Related Contents:
- jQuery Mobile: document ready vs. page events
- jQuery Mobile: Markup Enhancement of dynamically added content
- Why I have to put all the script to index.html in jquery mobile
- Jquery Mobile – $.mobile.changepage not loading external .JS files
- How to swipe top down JQuery mobile
- In jQuery mobile, what’s the diff between tap and vclick?
- How to get numeric value from a prompt box? [duplicate]
- Submit multiple forms with one submit button
- How to set value of input text using jQuery
- How to load all the images from one of my folder into my web page, using Jquery/Javascript
- How to display JavaScript variables in a HTML page without document.write
- How to make a link open multiple pages when clicked
- How can I control the back button event in jQuery Mobile?
- How to open a new window and insert html into it using jQuery?
- How can I sort elements by numerical value of data attribute?
- Setting href attribute at runtime
- jQuery (almost) equivalent of PHP’s strip_tags()
- width/height after transform
- Any event triggered on autocomplete?
- Iframe.readyState does not work in chrome
- How to pass variable value between different html pages in javascript
- collapse and expand tabs jquery / simple accordion
- Gaussian Blur onHover Using jQuery
- Passing parameters to a JQuery function
- How to redirect on another page and pass parameter in url from table?
- How to keep elements non-refreshed
- How do you swap DIVs on mouseover (jQuery)?
- jQuery selector to target any class name (of multiple present) starting with a prefix?
- Can I save input from form to .txt in HTML, using JAVASCRIPT/jQuery, and then use it?
- Validate Dynamically Added Input fields