FireFox: event handling problem

S

StepanM

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?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top