PDA

View Full Version : Force change event to fire on textfield



barryglenn
20 Dec 2010, 11:18 AM
I have a textfield on a form inside a window.
If I change the text in the text field then close the window without clicking out of the textfield the window's hide event fires, the window is hidden, but the change event on the textfield does not fire until another element gains the focus in the viewport.
Is there any way to simulate or force the textfield to fire the change event before the window's hide event is fired?