So going back - your problem here then is you do not want to put an physically onFocus on each element? This would obviously solve your problem but requires more typing!
"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Brad Wood To: CF-Talk Sent: Wed Dec 27 16:13:13 2006 Subject: RE: HTML focus You are correct that the onblur is for the element which I just left, but that information does not help me. I need to know the element that NOW has the focus. I tested with alerts and when I click (with mouse) on the element with the onblur and then on the element with the onfocus, the onfocus does in fact run BEFORE the onblur, but like I said, if I set any variables in the onfocus they are NOT available to the onblur when it runs. I will see if I can put up a sample of what the heck I am talking about. :) ~Brad -----Original Message----- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 27, 2006 9:59 AM To: CF-Talk Subject: Re: HTML focus But onBlur is indeed for the element so whatever onBlur fires is guaranteed to be for the element you just left AFAIK :-). What do you get if you alert onBlur the element value? Does it fire before the focus? How are you changing focus? TAB or Mouse? I am pretty sure that an onFocus should not fire before an onBlur. I am not sure what you are doing now on onBlur or how you are changing values etc (event handlers, key input). You got any code you can post either here or online? Remember that there is more than one way to skin a cat so to speak! You may find a good one, you may roll your own which is even better! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265082 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

