About 16,800,000 results
Open links in new tab
  1. How to change the Content of a <textarea> with JavaScript

    Oct 29, 2009 · How would I change the content of a <textarea> element with JavaScript? I want to make it empty.

  2. 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.

  3. 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

  4. 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 …

  5. html - How can I make a TextArea 100% width without …

    Nov 7, 2008 · I really like this answer. It makes the textarea snap to fit without any magic percent numbers less than 100%. You can use padding on all sides in the wrapper to force the text …

  6. 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

  7. Why is textarea filled with mysterious white spaces?

    Feb 5, 2010 · 114 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 - Rendering HTML inside textarea - Stack Overflow

    Jan 16, 2011 · This makes it so that a textarea will render html! Besides the flashing when resizing, inability to directly use classes and having to make sure that the div in the svg has …

  9. Set value of textarea in jQuery - Stack Overflow

    Jan 6, 2009 · I am attempting to set a value in a textarea field using jquery with the following code: $("textarea#ExampleMessage").attr("value", result.exampleMessage); The issue is, …

  10. Textarea to resize based on content length - Stack Overflow

    Jun 15, 2009 · I need a textarea where I type my text in the box, it grows in length as needed to avoid having to deal with scroll bars and it need to shrink after delete text! I didn’t want to go …