It's not a secret anymore!
The moose likes HTML, CSS and JavaScript and the fly likes td's focus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "td Watch "td New topic

td's focus

simon tiberius

Joined: Oct 30, 2012
Posts: 29
I've tried javascript native focus event and jqery's event on element td, but none of them fired. Does element td not have focus event? thanks
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63055

As it is not a focusable element, no, it does not. And because focus events do not bubble, there's no way that a focus event can trigger for a non-focusable element.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
jQuery in Action, 3rd edition
subject: td's focus
It's not a secret anymore!