Why i am not able to clear the date input field when i do not need? using jquery
- by kumar
I have this code in the view to display datepicker for input type..
$("input[id^='exc-flwup-']").datepicker({
duration: '',
showTime: true,
constrainInput: true,
stepMinutes: 30,
stepHours: 1,
altTimeField: '',
time24h: true,
minDate: 0
});
This is my Input Filed in the Fieldset..
<label for="FollowupDate">
Follow-up:
<span><input type="text"
id="exc-flwup-<%=Model.ExceptionID %>"
name="exc-flwup-<%=Model.ExceptionID %>"
value="<%=Model.FollowupDate %>" />
</span>
Problem Is when I click on the textbox on the UI I can select the date its working fine..
but when I am trying to clear the textbox its not going off its allways showing currect date and time..
Can anybody help me why its i am not able to make clear..
thanks