Skip to main content

Posts

Showing posts from September, 2019

How to Make checked checkboxes to uncheck using jQuery?

Sol: Tested Make a checked checkbox to uncheck in jQuery  Just take the id/class of the element and use the removeAttr function of jQuery <input type="checkbox" class="myClass" checked>Player1 <input type="checkbox" class="myClass"  checked >Player2 <input type="checkbox" class="myClass"  checked >Player3 <input type="checkbox" class="myClass"  checked >Player4 Suppose these above  check-boxes  are showing checked then Just write the below code in your script. See the results; $(".myClass").removeAttr("checked");