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