View Single Post
Old 12-08-2012, 08:34 AM   PM User | #8
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,032
Thanks: 197
Thanked 2,410 Times in 2,388 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
I have to say - while some 80% of browsers still in use do not support HTML5, stick with Javascript. I do accept that the new input types included in HTML5 will degrade properly in older browsers. But they do not actually work. And different browser vendors have implemented support in different ways. IE support seems to be minimal.

And that pattern still does not check that the date is a valid one.

But I have found a useful script to emulate HTML5 functionality:-
https://github.com/ryanseddon/H5F
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.

Last edited by Philip M; 12-08-2012 at 08:58 AM..
Philip M is offline   Reply With Quote