Skip to content

Instantly share code, notes, and snippets.

@mason-stewart
Created March 4, 2011 19:37
Show Gist options
  • Save mason-stewart/855553 to your computer and use it in GitHub Desktop.
Save mason-stewart/855553 to your computer and use it in GitHub Desktop.
document.getElementById('the_div').addEventListener(
'click', function(){ log('the_div!') }, true);
document.getElementById('the_list').addEventListener(
'click', function(){ log('the_list!') }, false);
document.getElementById('the_item').addEventListener(
'click', function(){ log('the_item!') }, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment