Javascript examples for jQuery:Form Input
Display value of input field
<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"> $(function(){/*from www . java2s .com*/ $('#list_search').on('keyup', my); }); function my(e){ console.log($(this).val()); } </script> </head> <body> <input type="text" id="list_search"> </body> </html>