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