File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes onblur before onfocus? 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 "onblur before onfocus?" Watch "onblur before onfocus?" New topic

onblur before onfocus?

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 358
I have two fields, the have both onblur and onfocus, in IE the onfocus comes before the onblur, can i in any way in java script forse the onblur to be the first to execute !!

[ June 12, 2007: Message edited by: Bear Bibeault ]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
You have no control over the browser and the way it handles events.

I agree. Here's the link:
subject: onblur before onfocus?
It's not a secret anymore!