+ 2

Why its not working on my computer it shows a textbox but working here on playground??and how can i have list type date picker?

<html> <head> <title>Page Title</title> </head> <body> <form> age: <input type="date" name="age"></input> </form> </body> </html>

15th Apr 2017, 3:45 PM
suraj pandey
suraj pandey - avatar
5 Respostas
+ 8
Do you have put the 'doctype' declaration for an html5 document at start of your source code before any other character? What is the browser and its version used for display your file on your computer? Have you try with another one?
15th Apr 2017, 6:00 PM
visph
visph - avatar
+ 6
So, I cannot help you more, because I haven't other devices than mobile ones actually, and very few times available ^^ I hope someone else could help you...
15th Apr 2017, 7:14 PM
visph
visph - avatar
+ 4
The 'date' type <input> element would be differently implementing in each browsers... If you want to have a date picker, you may implement your own ( or search on web for someone who has written one and shared it ;) )
20th Apr 2017, 1:59 AM
visph
visph - avatar
+ 2
@ visph..yes i have mentioned the doctype at start and i have tried the code in IE8 and firefox..both are showing it as a textbox
15th Apr 2017, 6:24 PM
suraj pandey
suraj pandey - avatar
0
@thnx visph OK...
20th Apr 2017, 5:44 AM
suraj pandey
suraj pandey - avatar