Top "Textarea" questions

A textarea is an HTML element (tag) used to create a multi-line plain-text editing field.

Set value of textarea in jQuery

I am attempting to set a value in a textarea field using jquery with the following code: $("textarea#ExampleMessage").attr("…

jquery textarea
How to add default value for html <textarea>?

I want to set a default value for my html <textarea>. I read from a material that to …

html textarea
New line in text area

<textarea cols='60' rows='8'>This is my statement one.\n This is my statement2</…

html textarea line-breaks
Should I size a textarea with CSS width / height or HTML cols / rows attributes?

Every time I develop a new form that includes a textarea I have the following dilemma when I need to …

html css textarea
Creating a textarea with auto-resize

There was another thread about this, which I've tried. But there is one problem: the textarea doesn't shrink if you …

javascript html resize height textarea
CSS Input field text color of inputted text

I have an input field, and the color of the text in it is black. (I'm using jquery.placeholder) Let's …

css input focus textarea
How to add line breaks to an HTML textarea?

I’m editing a <textarea> with JavaScript. The problem is that when I make line breaks in it, …

javascript html textarea line-breaks
More than 1 row in <Input type="textarea" />

I'm having troubles getting my <input type="textarea" /> to have more than 1 row, I tried adding the properties …

input textarea rows lines
Count characters in textarea

I want to count characters in a textarea, so I just made: <textarea id="field" onkeyup="countChar(this)">&…

jquery textarea counter onkeyup
how to get the value of a textarea in jquery?

i have this form and im trying to get the value from the text area. for some reason it doesn't …

javascript jquery textarea