Wednesday 11 September 2013

date picker is not hiding after selecting date. I want to hide calandar after selecting date and at the same time i want to call a function

date picker is not hiding after selecting date. I want to hide calandar
after selecting date and at the same time i want to call a function

date picker is not hiding after selecting date. I want to hide calandar
after selecting date and at the same time i want to call a function.
I am calling function at the time of selecting date, because onchange
event is not raising after changing the text box value to new date.
I have written code like this,
$('input:text[id^=ExpireDate]').datepicker({
//-
onSelect: function(dateText, inst) {
$(this).val(dateText);
fun2(id,expireDate);
}
});
fun2(id,date)
{
//--
}

No comments:

Post a Comment