reload() { document.querySelector('#reload').load(document.URL + ' #reload'); } code example Example: javascript reload page location.reload();