Link to home
Create AccountLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

HTML input field to enter time with hours minutes and am pm

HI,
I want to make a user enterable time field in html page. so that user can select the hours minutes and am pm etc.
from drop down...
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Moussa Mokhtari
Moussa Mokhtari

Use HTML default type
<input type="time" name="timepicker">
HTML5 type="time" is not supported in Firefox or Internet Explorer.
Thanks Dave I was unaware of that
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of Rohit Bajaj

ASKER

i am using spring mvc on server side
What about for the client? Any of the options we've suggested ok?
yes they seem fine...i am using jquery js ..will try these options and post back