Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > FireFox: event handling problem

Thread Tools

FireFox: event handling problem

Posts: n/a
It seems event handlers are called and run asynchronously.

For example. I have two controls on HTML page: ListBox and TextBox
(<select> and <input>). Both controls have event "onchange" and
functions for this event (e.g. select_onchange and text_onchage). If I
select item in ListBox, than I enter text in TextBox, and than I
finally select other item in ListBox, then both events fires
simultaneously (it can be checked up, if in both functions write a
corresponding "alert", both alerts appear simultaneously). How to
solve this problem?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
signal handling and (structured) exception handling Peter C++ 34 10-17-2009 10:03 AM
python list handling and Lisp list handling Mark Tarver Python 22 04-26-2009 09:36 PM
Is faster handling hexadecimal values than handling chars? IƱaki Baz Castillo Ruby 1 04-15-2008 09:04 AM
Dynamic Controls Event Handling Problem Paul Johnson ASP .Net 2 06-12-2007 03:58 PM
Web Custom Control - Datagrid Event Handling Problem The Alchemist ASP .Net 4 06-23-2004 03:07 PM