Top "Textarea" questions

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

Preserve line breaks in textarea

I have a form with a textarea and I want to preserve line breaks entered by the user when outputting …

html css textarea line-breaks
How to get selected text from textbox control with javascript

I have a textbox and a link button. When I write some text, then select some of them and then …

javascript html textarea textselection selectedtext
How can I clear a textarea on focus?

Im using a simple form with a textarea, when the users clicks onto the textarea I want the contents of …

javascript jquery textarea
Why isn't this textarea focusing with .focus()?

I have this code to focus a textarea when the user clicks on the "Reply" button: $('#reply_msg').live(…

javascript jquery focus textarea
textarea - disable resize on x or y?

I know it's possible to disable the resize of a textarea by using: textarea { resize: none; } But is it possible …

css resize textarea
How to properly style a text area with inner shadows and scrollbar

I'm putting an inner-shadow on all my controls, inputs and textareas by using the following CSS: input { padding: 7px; -webkit-box-shadow: …

html css textarea shadow
Change input placeholder color darker

Follow this article (Style text input placeholder), i can change the color of the text input placeholder to red color. …

css input textarea placeholder
how to make text line break in flex textarea

I have a string var s:String = "This is a line \n This is another line."; this.txtHolder.text = s; //.…

apache-flex actionscript-3 textarea
How do I make a textarea an ACE editor?

I'd like to be able to convert specific textareas on a page to be ACE editors. Does anyone have any …

javascript textarea ace-editor
Rails -- Add a line break into a text area

I got a rails app where I can input a few paragraphs of text into my model. The problem is …

html ruby-on-rails textarea