I have used input type text field and attach zebra date picker to it, now how I can call my function(updateDates())
on onchange
event?
Without zebradatepicker I am able to use updateDates()
function..
$('#tripDate1').val(formattedDate).attr("min", formattedDateMin).Zebra_DatePicker({ direction: 1 });
<input id="tripDate1" style="margin-left: 3px;" type="text" onkeypress="return false" onkeydown="return false" onchange="updateDates(this.id)" />