I'm building a web application using Google Apps Script. The HTML is mostly <input>
and <select>
, so after passing the values from inputs to a Google Spreadsheet, I want to refresh the page in order to get all the spaces in blank again for the next registration...
I'm calling this function using a <button>
:
function refreshPage(){
window.location.reload();
}
But it doesn't work. I just get a blank page. All the screen is erased... I have tried several ways and nothing is working... This problem is just happening in Chrome and Firefox, IE is working...