2

In our application we are using anchor tags for all our buttons: so that certain styles can be implemented.

Anchor Tag never gets focus while pressing tabs. We have onClick implemented, but how do I capture 'enter' keypress event?

We need to make sure, that OnClick, keeps working.

4

1 回答 1

-1

Add tabindex for you anchor tags.

http://www.w3schools.com/tags/att_standard_tabindex.asp

于 2012-07-31T14:12:24.803 回答