jquery - Datepicker not showing popup -
jquery - Datepicker not showing popup -
i have used jquery-ui date picker in project.but doesn't shows popup..this th code.please help me..
<tr> <td>date of submit<span class="red">*</span></td> <td height="48">:</td> <td height="48"><input type="text" id="dateof_sub" name="dateof_sub" class="normal"> <span class="red" id="date_submit_error"></span></td> </tr> <link rel="stylesheet" href="themes/base/jquery.ui.all.css"> <script src="ui/jquery.ui.core.js"></script> <script src="ui/jquery.ui.widget.js"></script> <script src="ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="demos.css"> <script> $(function() { $( "#dateof_sub" ).datepicker({ changemonth: true, changeyear: true }); }); </script>
you need include jquery referece, have jqueryui working - see jqueryui
these 2 references plenty - datepicker.
<script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> jquery jquery-ui datepicker
Comments
Post a Comment