Code... Post how you are calling said function.





"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 20:04:52 2006
Subject: RE: HTML focus

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:265137
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