click on body code example Example: body on click function $('body').on('click', '.anything', function() { //code });