Jacob, I am just now getting around to trying out your JavaScript you
sent.

If I place alert(activeElement.name); directly in the onblur attribute,
it appears to work in IE, but if I place the same alert in a FUNCTION
which is called in the onblur then I get the JS error
"activeElement.name is null or not an object".

Suggestions?

~Brad

-----Original Message-----
From: Jacob Munson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 26, 2006 7:58 PM
To: CF-Talk
Subject: Re: HTML focus

Try this:

....

You can then access activeElement.id or activeElement.name to see what
has focus.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:265132
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to