Skip to content

Instantly share code, notes, and snippets.

@venblee
Created June 21, 2013 07:30
Show Gist options
  • Save venblee/5829521 to your computer and use it in GitHub Desktop.
Save venblee/5829521 to your computer and use it in GitHub Desktop.
On Container Click Event Binding
var myContainer = $('.centercontainer')
myContainer.on('click' ,'.myclass' , function(e){
e.preventDefault();
// Do your Stuff Here for on click.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment