jason213123 Posted December 31, 2010 Share Posted December 31, 2010 hi, i have a inputbox that have a hour in this format: 12:00:00 what i want to do is change the hour,secunds,minuts by pressing only the keys up and down. i have seen some web forms that do that but i can´t figure out how do that. any one know something like that? thanks a lof for your help Link to comment https://forums.phpfreaks.com/topic/223084-change-the-inputbox-content-hour-using-the-keypress/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 31, 2010 Share Posted December 31, 2010 You would use browser keyup/keydown/keypress events - http://www.cryer.co.uk/resources/javascript/script20_respond_to_keypress.htm Link to comment https://forums.phpfreaks.com/topic/223084-change-the-inputbox-content-hour-using-the-keypress/#findComment-1153361 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.