[jQuery] Checking if a form element is disabled or not
I need to check if a form element is disabled or not, however, when I
run the code:
if($('#field').attr('disabled', true))
{
...
}
All it does is disabled the form. How can I just check if it is
disabled without doing so?
Thanks.