prop("disabled", true); AND attr('disabled', 'disabled') is not working in chrome and firefox
<p>i have the following script inside my asp.net mvc view:-</p>

<pre><code>function disableform(id) {
    $('#' + id).prop("disabled", true);
}
</code></pre>

<p>But the above function will only  disable the elements using internet explorer ,, but will fail to work on chrome or firefox, i also tried to write <code>attr('disabled', 'disabled')</code> instead of <code>.prop("disabled", true);</code>, but it did not solve the problem.</p>

<p><strong>my Jquery version is 1.7.1</strong></p>

<p>So what might be the problem?</p>

<p>BR</p>
