Created
October 22, 2015 19:19
-
-
Save puiutucutu/e9deafeb5717de046b75 to your computer and use it in GitHub Desktop.
js click
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table.addEventListener('click', function(e) { | |
debug('table was clicked on') | |
}) | |
table.addEventListener('click') | |
document.getElementById("testing").onclick = (function(event) { | |
alert('test') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://jsfiddle.net/IceWave/6u8hj7u2/1/