php document load current page code example Example: refresh page on button click jquery $('#something').click(function() { location.reload(); });