Remove readonly attribute jquery

Today, We want to share with you remove readonly attribute jquery.In this post we will show you how to get value of readonly textbox in jquery, hear for remove readonly attributes from multiple fields on clicking button in jquery we will give you demo and example for implement.In this post, we will learn about Star Rating System Using JQuery with an example.

How to remove readonly attribute to an input box jquery?


// or
$('#id').attr('readonly', false);

Example 1:

<title>jQuery Example -</title>
   <script src = ""></script>
      $(document).ready(function() {
         $('input[type="text"], textarea').each(function(){

<input type="text" value="readonly text field" /><br>
<textarea>readonly textarea</textarea>

I hope you get an idea about remove disabled attribute jquery.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Also Read This 👉   jQuery DataTables Customisation Filter Searchbox