Javascript examples for jQuery:Form Event
Printing field input data live with Javascript when key typing
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(window).load(function(){/*ww w.j av a2s .c o m*/ $('textarea').keyup(function() { $('#foo').html($(this).val()); }); }); </script> </head> <body> <textarea></textarea> <div id="foo"></div> </body> </html>