👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.
How to check a checkbox input in jQuery?

In jQuery, you can check or uncheck a checkbox element or a radio button using the .prop() method as on the following example:


// Check 
$( "#id" ).prop( "checked", true );

// Uncheck
$( "#id" ).prop( "checked", false );

More