Created
September 14, 2018 18:14
-
-
Save brunolimadevelopment/3ebd3926a0acba4e319f27bf5ab9bbd8 to your computer and use it in GitHub Desktop.
Calendario JQUERY
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
// ID no HTML | |
[text* text-897 id:DataMuda placeholder "Data que precisa da muda"] | |
// ADC NO FOOTER | |
<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script> | |
// JS | |
$("#DataMuda").datepicker({ | |
dateFormat: 'dd/mm/yy', | |
dayNames: ['Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sábado'], | |
dayNamesMin: ['D','S','T','Q','Q','S','S','D'], | |
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb','Dom'], | |
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], | |
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'], | |
nextText: 'Próximo', | |
prevText: 'Anterior' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment