Remove disabled attribute using JQuery?
<p>I have to disable inputs at first and then on click of a link to enable them.</p>

<p>This is what I have tried so far, but it doesn't work:</p>

<p><strong>HTML:</strong></p>

<pre><code>&lt;input type="text" disabled="disabled" class="inputDisabled" value=""&gt;
</code></pre>

<p><strong>jQuery:</strong></p>

<pre><code>$("#edit").click(function(event){
   event.preventDefault();
   $('.inputDisabled').removeAttr("disabled")
});
</code></pre>

<p>This shows me <code>true</code> and then <code>false</code> but nothing changes for the inputs:</p>

<pre><code>$("#edit").click(function(event){
   alert('');
   event.preventDefault();
   alert($('.inputDisabled').attr('disabled'));
   $('.inputDisabled').removeAttr("disabled");
   alert($('.inputDisabled').attr('disabled'));
});
</code></pre>
