Datepicker changing the date
Hi
I am trying to use datepicker in my site to store appointments. It work superb on the creation of a new record but when i am trying to edit the date of a previously created record it keeps the old one on the database. I am using dreamweaver for the creation of the site. This is the code
<label> </label>
<label>Τελευταία Επίσκεψη
<input type="text" size="30" value="<?php echo $row_Customer['lastdate']; ?>" id="jQueryUICalendar2" name="jQueryUICalendar2"/>
</label>
</p>
<script type="text/javascript">
// BeginWebWidget jQuery_UI_Calendar: jQueryUICalendar2
jQuery("#jQueryUICalendar2").datepicker({ yearRange: '2008:2020',dateFormat: 'yy-mm-dd'});
// EndWebWidget jQuery_UI_Calendar: jQueryUICalendar2
</script>