After setting data to "textarea1" you need to make "textarea1" input control uneditable. For that you can add disabled attribute with disabled value to input control at run time. Code sample as shown below.
$("#textarea1").attr("disabled", "disabled");