I have an asp textbox that I have hooked up to a jQuery calendar control on the document ready like so
$('#txtPromoPrcStrt').datepick({
dateFormat: 'mm/dd/yyyy',
onSelect: function(selectedDate) { txtPromoPrcStrt_TextChanged(); }
});
Where the txtPromoPrcStrt_TextChanged function sets some default values for other boxes. The problem is, the OnTextChanged event of the TextBox doesn’t fire after I select a date from the DatePicker, but it will fire if I go into the textbox and enter values from the keyboard.
1) Why is this happening?
2) How can I get an event to fire when the user selects a date from the date picker?
You can manually trigger an event like so: