I have multiple input text boxs all are by default read-only.
I want to Remove readonly attribute for all the input element within my form instead of particular element, i dont have any idea that with the jQuery how i can select all input and remove the readonly attributes if are added.
Html :
<input type="text" name="fistname" readonly="true">
<input type="text" name="lastname" readonly="true">
<input type="text" name="emailaddres" readonly="true">
<input type="text" name="password" readonly="true">
<input type="button" name="edit" id="edit">
Jquery :
$(document).ready(function(e){
$(document).on("click","#edit",function(e){
// What should i do here..?
});
});