Home > DeveloperSection > Interviews > check/uncheck an input in jquery?

Posted on    September-08-2012 1:08 AM

 JQuery JQuery 
Ratings:
 1 Answer(s)
  1965  View(s)
Rate this:

AVADHESH PATEL

Total Post:257

Points:1285
Posted on    September-08-2012 12:00 AM

// Check #x
    $(“#checkboxid”).attr(“checked”, “checked”);
    // Uncheck #x
    $(“#checkboxid”).removeAttr(“checked”);

Don't want to miss updates? Please click the below button!

Follow MindStick