refresh method in jquery code example Example: refresh page on button click jquery $('#something').click(function() { location.reload(); });