Javascript – Alert the Text in a Textarea

This code shows you how to alert something written in a textarea. This can be useful when you need to ask something from a user and alert it directly or with some modifications to him/her. They can type anything here and get the results.