If the textfield has been changed
<html> <head> <script language="JavaScript"> <!-- function taChange() { alert("The text-area field has changed."); } //--> </script> </head> <body> <form> Enter some text: <input type="text" size=35 name="sometext"><p>Enter some more text:<br> <textarea name="tarea" rows=5 cols=40 onChange="taChange()"> </textarea> </form> </body> </html>