113
rated 0 times
[
116]
[
3]
/ answers: 1 / hits: 16985
/ 8 Years ago, tue, april 5, 2016, 12:00:00
I would like to display the datepicker when i click on the button. I have tried but i couldn't make it work. I am using Materialize Css. I have tried to use input type text but i don't want it.
<div class=container>
<div class=row center>
<i>Date</i>
<button class=btn waves-effect waves-light datepicker type=submit name=action>PICK DATE</button>
</div>
</div>
jQuery:
$('.datepicker').pickadate({
selectMonths: true,
selectYears: 15
});
More From » html