javascript reload website scripts code example Example: jquery reload page $('#myElement').click(function() { location.reload(); });