Check if element support the property using jquery
<p>Jquery newbie here.</p>

<p>In a wrapped element set, is there a way to check if the element supports this property?</p>

<p>I basically have this pseudocode.</p>

<pre><code>$(function () {
    $("form").each(function(){
        if("this element supports disabled"){
            $(this).attr("disabled", "disabled");
        }
    });
});
</code></pre>

<p>I was thinking that if the element does not support this property then it should be skipped.</p>

<p>In my example above, I was checking if the element supports the disabled attribute.</p>

<p>Thanks</p>
