i have a one drop down box . and i have a one text box in that text box i entered date and i wriitten a on focus event for that text for that i written a
java script method in that i checked given date is greater than the current date at that time the combo box value as 00:00 default value .what can i do .I would like it to autos elect the first item in the combo box rather than having to click on the arrow .what code wriiten in javascript.please any one help me.