Good afternoon.
I am trying to create a button to refresh the page, through the Google app Script Web, but the method \"window.location.reload ();\", do
After location.reload() you should return false in onclick function:
function teste(){
location.reload();
return false;
}
Try this:
Javascript:
function reLoad() {
google.script.run
.withSuccessHandler(function(url){
window.open(url,'_top');
})
.getScriptURL();
}
GS:
function getScriptURL() {
return ScriptApp.getService().getUrl();
}