Hi just wondering if someone could tell me how to do the following. (To say my Javascript skills are non-existent would be the understatement of the year!)
Here's the problem...
I have a simple HTML form, in which there are two text-box input fields - one for hour, the other for minute.
All I (i.e. my boss) wants to do is allow users to type in two digits into the hour box which should be a number between '00' and '23', after which focus will be switched to the minute box where a user may enter a number between '00' and '59'.
Forcing numbers to lie within the ranges is not imperative, since this may be done with server-side scripting upon submission.
The important part is that of the focus changing after two digits have been entered.
Thanks very much in advance. Much appreciated
Dan
Here's the problem...
I have a simple HTML form, in which there are two text-box input fields - one for hour, the other for minute.
All I (i.e. my boss) wants to do is allow users to type in two digits into the hour box which should be a number between '00' and '23', after which focus will be switched to the minute box where a user may enter a number between '00' and '59'.
Forcing numbers to lie within the ranges is not imperative, since this may be done with server-side scripting upon submission.
The important part is that of the focus changing after two digits have been entered.
Thanks very much in advance. Much appreciated
Dan