• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

howto ensure event handler finish task

 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add code that has a busy flag and your other part has to wait to it is finished.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic