Difference between revisions of "Tabindex only"
Jump to navigation
Jump to search
(Created page with "<div tabindex="10"> This is some item in the tab order </div>") |
|||
Line 1: | Line 1: | ||
− | <div tabindex="10"> This is some item in the tab order </div> | + | <html> |
+ | <script> | ||
+ | function add() { | ||
+ | document.getElementById("d1").addEventListener("click",alert('test')); | ||
+ | } | ||
+ | </script> | ||
+ | <body> | ||
+ | <div id="d1" tabindex="10"> This is some item in the tab order </div> | ||
+ | <button onclick="add();"> add </button> | ||
+ | </body> | ||
+ | </html> |
Revision as of 02:28, 27 February 2016
This is some item in the tab order