CHECK/UNCHECK AN INPUT IN JQUERY?

AVADHESH PATEL

Total Post:257

Points:1285
Posted by  AVADHESH PATEL
JQuery 
 2154  View(s)
Ratings:
Rate this:
  1. AVADHESH PATEL

    Post:257

    Points:1285
    check/uncheck an input in jquery?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!