If we use this method to return value, it will return the value of the FIRST selected element. Live Demo Kendo UI UI for jQuery UI for Angular UI for React … More: CS Subjects: Here are a few examples discussed. validationMessage Read only : string: Returns a localized message that describes the validation constraints that the control does not satisfy (if any). var v = textareaObject.readOnly Set the readOnly property. This property reflects the HTML readonly attribute. The Here’s a look at how those two attributes affect the presentation of a textarea. » C Für text input ich tun: $('input').each(function(){ $(this).attr('readonly','readonly'); }); Aber was soll ich tun für textarea zu machen readonly. Our Learning Partner Need some front-end development training? Join our Blogging forum. If an end user should not be able to edit the text in the TextArea, assign true to the readOnly option. How to get HTML content of an element using jQuery? HTML Javascript Readonly mix. The contents of this element will be submitted with the form. Example. Frontend Masters is the best place to get it. In a read-only text area, the content cannot be changed, but a user can tab to it, or highlight and copy the content from it. Back to