About 12,200,000 results
Open links in new tab
  1. How to add default value for html <textarea>? - Stack Overflow

    May 15, 2011 · Learn how to set a default value for an HTML <textarea> element using various methods and examples on this Stack Overflow page.

  2. How to change the Content of a <textarea> with JavaScript

    Apr 26, 2017 · How would I change the content of a <textarea> element with JavaScript? I want to make it empty.

  3. Creating a textarea with auto-resize - Stack Overflow

    Jan 18, 2009 · Learn how to create a textarea that automatically resizes based on the content entered.

  4. javascript - Textarea Auto height - Stack Overflow

    Check this similar topics too: Autosizing textarea using Prototype Textarea to resize based on content length Creating a textarea with auto-resize

  5. html - How can I use a textarea as an input? - Stack Overflow

    Oct 8, 2014 · Would it be possible to use only a textarea from beginning and define its size like an inbutbox? If you get more chars, just increase the textarea to a normal size.

  6. How to add a new line in textarea element? - Stack Overflow

    I want to add a newline in a textarea. I tried with \\n and &lt;br/&gt; tag but are not working. You can see above the HTML code. Can you help me to insert a newline in a textarea? &lt;textarea …

  7. Why is textarea filled with mysterious white spaces?

    Feb 5, 2010 · 113 Well, everything between <textarea> and </textarea> is used as the default value for your textarea box. There is some whitespace in your example there. Try to eliminate …

  8. javascript - Auto-expanding textarea - Stack Overflow

    I'm trying to do a simple auto-expanding textarea. This is my code: textarea.onkeyup = function () { textarea.style.height = textarea.clientHeight + 'px'; } But the textarea just keeps growing

  9. html - Whats the difference between textarea and input type text …

    Feb 19, 2016 · Textarea: The <textarea> tag defines a multi-line text input control. A text area can hold an unlimited number of characters, and the text renders in a fixed-width font (usually …

  10. Should I size a textarea with CSS width / height or HTML cols / …

    Oct 9, 2010 · The size of a textarea can be specified by the cols and rows attributes, or even better; through CSS' height and width properties. The cols attribute is supported in all major …