wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes howto ensure event handler finish task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "howto ensure event handler finish task" Watch "howto ensure event handler finish task" New topic
Author

howto ensure event handler finish task

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
i have a textfield ,which have onChange event handler,when i change some value in
this textfield, if i go select the option pull-down menu which have
another different onchange event handler, when i click on options
pull-down menu , it give me blank page,

how do i make sure when user change some value in textfield and
the onChange event handler will finish first then only allow proceed other event?

thanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
add code that has a busy flag and your other part has to wait to it is finished.

Eric
 
 
subject: howto ensure event handler finish task