Is there a clean HTML way to relate a key press to a dropdown item

jonathanplum

New Member
I am working on an application in which I want to allow for quick data entry. So I want to make a date field selected by int month value (ie 7 = July). I think I only have 2 options.[*]Prepend the number to the Month (1 -- Jan, 2 -- Feb, ... etc) but this is Ugly[*]Use JS or jQuery to intercept key presses and select the appropriate month (doable, but messy)Is there a way to have a hidden locater for a drop down?-- Edit for Clarity --I am trying to allow users to input the date through the keyboard more easily so instead of using a calendar picker (which I have) they could type .... 1 tab 1 tab 2010, which would result in the date Jan 1st, 2010
 
Back
Top