title: Does Disabled attribute work with hidden
body: <p>I have a hidden field</p>
  
  <pre><code>&lt;input type = 'hidden' name = "test1" id = "test1" value ="&lt;?php echo $val ?&gt;" &gt;
  </code></pre>
  
  <p>Now iam   applying disabled attribiute through Jquery . Will the Disabled attribute work for hidden fields or it will work only for input type = text </p>
  
  <pre><code>$('#test1').attr('disabled','disabled');
  
  if($("#radio_no:checked") &amp;&amp; $("#someelement").attr('value')==="abc"){                         
              $("#test1").attr('disabled', true);
              $("#test1").attr('class', 'TextBox');           
  }
  </code></pre>