<input type=“button" id="test" onclick="refresh()
"/>
function refresh() {
var location = self.parent.location;
self.top.location.reload();
}
<input type=“button" id="test" onclick="refresh()
"/>
function refresh() {
var location = self.parent.location;
self.top.location.reload();
}