W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

tab event

From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
Date: Mon, 17 Sep 2001 16:43:35 +0100
Message-ID: <003c01c13f8f$8ff42560$b9917bd5@btopenworld.com>
To: <www-dom@w3.org>
may be off topic, apologies.

I am having problems finding a code snippet, or other info regarding how one
identifies which element has been 'tabbed to', by using the tab key. For
instance: one has a number of img on  a page, and wish to know the id or
name of the one which has focus. event.srcElement.name works for many
events, but does not seem to for this one.

jonathan chetwynd
IT teacher (LDD)
j.chetwynd@btinternet.com
http://www.peepo.com         "The first and still the best picture directory
on the web"
Received on Monday, 17 September 2001 12:10:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT