2
When I use the Jquery Ui DatePicker
, I can set a maximum date using the attribute maxDate
.
Thus:
$('#data-solicitacao').datepicker({maxDate: 'now'})
I thought the Datepicker on Bootstrap 3 was the same thing, but it’s not.
How can I set a maximum date in Bootstrap Datepicker?
Does that question help? http://answall.com/questions/117284/como-setar-maxdate-no-datepicker-para-sete-dias-depois-da-data-selecionada/117308#117308
– user28595
I’ll take a look, little fella. Thank you
– Wallace Maxters
@Diegof has a lot of code there, huh. If you look at my example (as I do in Datepicker of Jquery UI), you will see that it is very simple. I wanted something like this on Bootstrap too
– Wallace Maxters