jquery button example onclick Example: jquery click event $('#selector').on('click',function(){ //Your code here });