This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "td Watch "td New topic
Author

td's focus

simon tiberius
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

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]
 
 
subject: td's focus
 
Similar Threads
How to make an Image click just like a Submit button
Traversing the table using arrow keys
focusing on an input element with jquery
select tag doubt
GWT: focus management