<?php include('include_navigation.html');?>
.all code is right and work but when
i have use this code in my page then date-picker is not working . why it's happen plz tell me Where the
datepicker should appear? and also
when i have remove this code date-picker code is working and i have not getting what happen so plz tell me what is wrong in here.....
date-picker code here......
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness
/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />
<style>
.datepicker{
}
</style>
<script>
$(function() {
$( ".datepicker" ).datepicker({ dateFormat: 'yy-mm-dd' });
});
</script>
html code
<tr>
<td>Admission Date</td>
<td height="48">:</td>
<td height="48"><label><input type="text" name="AD_DT" id="AD_DT"
class="datepicker" style="width:80px;" /></label></td>
</tr>
`
Try this code
$(document).ready( function() {
$( ".datepicker" ).datepicker({ dateFormat: 'yy-mm-dd' });
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.