Hi All,
Jquery newbie here.
In a wrapped element set, is there a way to check if the element supports this property?
I basically have this pseudocode.
$(function () {
$("form").each(function(){
if("this element supports disabled"){
$(this).attr("disabled", "disabled");
}
});
});
I was thinking that if the element does not support this property then it should be skipped.
In my example above, I was checking if the element supports the disabled attribute.
Thanks