Results 1 to 2 of 2

Thread: (JavaScript) Functions happening to fast? **Resolved**

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (JavaScript) Functions happening to fast? **Resolved**

    I have onBlur and onFocus events on some input boxes. Both of them open a window in a hidden frame to do some processing. It seems that the functions are going to fast and not opening the window. Here is the desired psudo code:

    1) user clicks on field 1 onFocus fires and opens a window in hidden frame.
    2) user hits tab and moves into field 2. Field 1's onBlur fires and opens a window & does what it has to do. Then Field 2's on focus fires (and we are back at step 1)

    What I think is happening is that it is working fine but after the onBlur fires the next onFocus happens so quick that the page that opened in the onBlur is quickly replaced by the page opened by the onFocus. So fast that no processing takes place.
    Any ideas?
    Michael
    Last edited by msimmons; Sep 18th, 2002 at 01:02 PM.
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  2. #2

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    never mind. I figured out a new way to do it

    Michael
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width