Materializecss datepicker not working
<p>I am using <code>materializecss</code> for the first time in my web application and
I am struggling with <strong>datepicker</strong>. It is not  working at all.</p>

<p>I imported <strong>materialize.css</strong> and <strong>js</strong> file and use the code</p>

<pre><code>&lt;div&gt;
 &lt;input type="date"  class="datepicker" /&gt;
&lt;/div&gt;
</code></pre>

<p>and added <strong>script</strong> code</p>

<pre><code> $(document).ready(function() {
    $('select').material_select();


    window.picker = $('.datepicker').pickadate({

        selectYears: 16, // Creates a dropdown of 15 years to control year
        format: 'yyyy-mm-dd'
    });



});
</code></pre>

<p>but nothing worked, it shows a disabled text box.</p>

<p>Also I want to know how to add timepicker in <code>materializecss</code>?</p>