1.

How Can We Disable/enable An Element In Jquery?

Answer»

you can disable/enable web element USING ATTR and removeAttr functions RESPECTIVELY.

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

you can disable/enable web element using attr and removeAttr functions respectively.



Discussion

No Comment Found