how to clear window and reload page in jquery code example Example: jquery reload page $('#myElement').click(function() { location.reload(); });