DISABLE/ENABLE AN ELEMENT IN JQUERY?

AVADHESH PATEL

Total Post:257

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

    Post:257

    Points:1285
    disable/enable an element in jquery?

    // Disable #x
        $(“#x”).attr(“disabled”,”disabled”);
        // Enable #x
        $(“#x”).removeAttr(“disabled”);

Answer

NEWSLETTER

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