[jQuery] check if disabled attribute is true?
I know how to change the disabled attribute of a form element, but I
can't figure out how to check the disable attribute.
I can't seem to get this to work:
if ($(this).attr("disabled")) {
$(this).css("cursor","not-allowed");
}
Any ideas?
Thanks
Peter