user « TextArea « Javascript HTML CSS Q&A

Home
Javascript HTML CSS Q&A
1.animation
2.audio
3.background
4.browser
5.button
6.canvas
7.checkbox
8.Cookie
9.Development
10.DIV
11.dom
12.dropdown
13.editor
14.element
15.Event
16.Firefox
17.flash
18.font
19.Form
20.frame
21.hide
22.hyperlink
23.IE
24.iframe
25.image
26.innerHTML
27.json
28.layout
29.Library
30.localStorage
31.Menu
32.mobile
33.onclick
34.popup
35.Render
36.scroll
37.scrollbar
38.svg
39.tab
40.table
41.tag
42.text
43.TextArea
44.TextBox
45.validation
46.video
47.window
48.xml
Javascript HTML CSS Q&A » TextArea » user 

1. Modifying HTML textarea as the user types?    stackoverflow.com

How do you manipulate text inside of a textarea as the user types in it?

2. How do I warn a user before closing a page when textarea is not empty?    stackoverflow.com

I'm trying to replicate the same thing as on the stackoverflow textareas. EDIT: I went with something like this, after reading the suggestions here:

window.onbeforeunload = function()
{

    var myTextArea = ...

3. How to let a user input html into a textarea? I have problems if they try to include