Not necessarily. The element I am processing (onblur) just lost focus and the second element (onfocus) just gained focus (or maybe not-- that's what I need to test for).
I want the first element's onblur to know which element it just lost focus to. I found that in IE 6, the second element's onfocus gets ran first, HOWEVER, when the first element's onblur runs, any variables I set or changes I make "don't exist". It's really weird. It's like the onblur is stuck back in time the way the DOM looked BEFORE the second elements onfocus ran. I will look into the code sample James gave. I tend to shy away from JS frameworks for some reason. I guess it just scares me that there seems to be so many different ones, and I don't really know which ones are better. I don't want to run with Beta, and then find out VHS is the one I should have used :) Also, the last time I tried to use Prototype it conflicted with some other home grown event listeners in another portion of my site (Code I didn't write) and it looks like a larger undertaking to find everywhere the home-grown methods had been used and eradicate them. Until then I can't use Prototype. *sigh* ~Brad -----Original Message----- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 27, 2006 2:38 AM To: CF-Talk Subject: Re: HTML focus In this case though, won't the object you are currently processing have focus? James' script will do it on a standard form element iteration. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:265075 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

