Jump to content

Disable native datepicker


rink.attendant.6

Recommended Posts

Is there any way to disable the native datepicker in Opera (and now Chrome) on <input type=date> elements? I know an obvious solution would be to use <input type=text> but that's not exactly what I'm looking for. A JavaScript solution is fine (it might be the only way to do it), as I really don't care if the datepicker comes up if the user has JavaScript disabled. It is currently clashing with the jQuery UI Datepicker element and I've done some extensive googling with little success. I've tried e.preventDefault() but that doesn't work for some reason.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...