How to make a Textarea Read Only using JQuery

No Comments

Use the following JQuery code

$("input[name=postaddr], textarea").attr('readonly', 'readonly');

postaddr is the name of the textarea

Image Credits: Photo by Isis França on Unsplash.

Last Updated On March 21, 2018

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link