HI i have many forms in my application.. when some one see any form so i want to show form as "Only readable form" means i want to use disable form.. when someone click edit button so my form should enable for editing.. how to do it? can anyone help me? Regards.. Farhad
For example, the following code produces a disabled input button of type 'submit'.
<input type="button" value="Submit" disabled/>
Using jQuery, you can remove this attribute as follows: $("input").removeAttr("disabled")
var len = document.former.elements.length; //please be noted that former is the name of your form