小编Mat*_*thi的帖子

如何在materilize CSS中控制自动打开的Datepicker?

演示链接

   <input type="date" class="datepicker">

    $('.datepicker').pickadate({
        selectMonths: true, // Creates a dropdown to control month
        selectYears: 15 // Creates a dropdown of 15 years to control year
   });
Run Code Online (Sandbox Code Playgroud)

从日期选择器中选择日期后,当我们移动到窗口上的下一个选项卡时,再次返回当前窗口时,日期选择器已自动打开.

html javascript css jquery materialize

2
推荐指数
1
解决办法
556
查看次数

标签 统计

css ×1

html ×1

javascript ×1

jquery ×1

materialize ×1