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