You are here

7 March 2013

You can use "is" to see if the form element is disabled.

Source code viewer
  1. if ($('selector').is(':disabled')) {
  2. alert('Selector is disabled.');
  3. }
Programming Language: jQuery