This is my code
<input type="submit" value="Submit Order"
onclick="this.value='Uploading..';
google.script.run.withSuccessHandler(fileUploaded)
.uploadFiles(this.parentNode);
return false;">
I can't put it in a DIV element or else it will not function properly so I was wondering how I could center this button.
EDIT: here's my overall code for the webpage : https://jsfiddle.net/n0ya9tbq/
The reason why I can't put it in a DIV element is because I'm using Google Apps Script and in GAS if I put it in a div element i encounter this error : google.script.run not working: Uncaught InvalidArgumentError: Failed due to illegal value in property: 0