jQuery UI Checkboxradio - Default functionality.Check out the API documentation. In jQuery, you can use attr() function to check or unchecked a checkbox dynamically. For example, A simple checkbox component.(input:checkbox[namecheckme]).
attr(checked,false) jQuery check / unchecked checkbox example. I get the following error with jquery mobile when trying to use a conditional to check if a checkbox has been checked. Uncaught Error: Syntax error, unrecognized expression: [object HTMLDivElement] jquery-latest.js:4680. So here is the code. A simple jQuery plugin that allows you to replace default radio buttons and " check".