Hello, i have two type of date text boxes, one is publish date and the other is the expire date. One textboxe has the present date and the other 9999-12-31 display in their textbox. The problem is, for the expire date, the calendar displays 9999 December
, according to the text display, instead of the current year, how can I fix this. This is my code:
<link type="text/css" href="/folder/date/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript" src="/folder/date/jquery-1.7.js"></script>
<script type="text/javascript" src="/folder/date/jquery-ui.js"></script>
<script type="text/javascript">
$(function () {
$("#<%= datePub.ClientID %>").datepicker({
dateFormat: 'yy-m-d',
...
Go to the complete details ...