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