I am trying to use the google.run.script function in one of my projects and it doesn\'t seem to be triggering the function to run.
So I made a new project and tested a
I just copied your code and it is working for me. It seems that you have other code in your project which might have some errors.
Otherwise, you might be using URL of old version of your deployed project.
Deployment procedure is available here. https://developers.google.com/apps-script/guides/web