Hi all,
I have a input text box used for dates. If a date is typed I have some Javascript validation on it. I also have a button which opens a Javascript calendar in order to pick a date and populate my text box. However, by definition onChange does not recognise this as a change (it only picks up user changes).
I want to be able to recognise that the text box contents have changed in order to validate them. I don't want to add the validation to the javascript calendar becasue it is generic and I use it in other places.
Is there an event which recognises changes to an element made by scripting from another page? I'm using IE and my application doesn't need to run on other browsers.
Thanks
hughesai
I have a input text box used for dates. If a date is typed I have some Javascript validation on it. I also have a button which opens a Javascript calendar in order to pick a date and populate my text box. However, by definition onChange does not recognise this as a change (it only picks up user changes).
I want to be able to recognise that the text box contents have changed in order to validate them. I don't want to add the validation to the javascript calendar becasue it is generic and I use it in other places.
Is there an event which recognises changes to an element made by scripting from another page? I'm using IE and my application doesn't need to run on other browsers.
Thanks
hughesai