How to make a Textarea Read Only using JQuery

4 sec read

Use the following JQuery code

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

postaddr is the name of the textarea

Last Updated On March 21, 2018

Leave a Reply

avatar
  Subscribe  
Notify of