I have a text field on which I am writing onChange event. The value of text field is getting changed by calander popup by selecting date from calander, but onChange event is not fired unless I manually change the text field, how can we force the event to fire when date is selected by calander popup.
When you use event handlers, do not use javascript:
onchange does not get fired when you change the value with JavaScript. It only gets fired when a person changes the value. The Calendar code should have an event build in when the user selects a date. If it does not, than that is a poor component.
Eric
Sujatha Kalluri
Ranch Hand
Joined: Oct 09, 2002
Posts: 33
posted
0
David Newton wrote:I believe (but could be wrong) onchange is specifically for UI events; it wouldn't fire if you populated it via a simple jQuery call, either.