Last active
August 29, 2015 14:05
-
-
Save phenix-factory/eb58f510f70bd6195e5a to your computer and use it in GitHub Desktop.
Desactiver les champs dates sur les navigateurs qui ont un datepicker natif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function () { | |
if (Modernizr.inputtypes.date) { | |
$(".formulaire_spip input[type='date']").prop("type", "text"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment