Why i am not able to clear the date input field when i do not need? using jquery
Posted
by kumar
on Stack Overflow
See other posts from Stack Overflow
or by kumar
Published on 2010-06-02T00:25:23Z
Indexed on
2010/06/02
0:33 UTC
Read the original article
Hit count: 526
jQuery
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
© Stack Overflow or respective owner