Javascript examples for jQuery:Form Event
Get value from date input on keypress event
<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(){// ww w . j ava 2s .c o m $(dateField).keypress(function(){ console.log($(this).val()) }); }); </script> </head> <body> <input id="dateField" type="date"> </body> </html>