Javascript examples for jQuery:Text
JQuery/Javascript function when value of text box is changed by user
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.8.3.js"></script> <script type="text/javascript"> $(window).load(function(){/*www .java 2 s . c o m*/ $("input").on("keyup", function(){ console.log($(this).val()) }); }); </script> </head> <body> <input id="formloginpassword" type="text" name="pass" placeholder="Password" value="filled-from-backend"> </body> </html>