date picker undefined is not a function <p>IM using the following code and I got error is the console undifinnd is not a function,what am I doing wrong here ?</p> <pre><code>&lt;script src="~/Scripts/jquery-2.1.1.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(function () { $('#datetime').datepicker(); }); &lt;/script&gt; </code></pre> <p>I've also try with and I got the same error...</p> <pre><code>$('#datetime')..datetimepicker(); </code></pre>