Make fields non editable using javascript
<p>How can I set a div as non editable  with its id or class using jQuery or JavaScript after submission?</p>

<pre><code>$('#id').attr("disabled",true); 
</code></pre>

<p>is not working for a div.</p>
