Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

142
Views
How do I open another page with a button in Google Apps Scripts?

I am new to programming and I have a question. I have my main web page (boton) with three buttons and I want to create a function so that the button can open a page (pagina1 or pagina2) with Google App Script or GAS. How can I do that? I just have this, which is the structure of the buttons on the boton page.

enter image description here

and this is how it shows on the page

enter image description here

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

Well, Instead of using "GAS" you can use the anchor tag of HTML

Like :- here is an example - Google

You need to change the website link and your button text, and BOOM!

Thanks ;)

about 4 years ago · Juan Pablo Isaza Report

0

Add the '_blank' in your script:

<button class="btn" onclick="window.open('https://stackoverflow.com', '_blank');">stackoverflow</button>
about 4 years ago · Juan Pablo Isaza Report

0

Well, Instead of using "GAS" you can use the anchor tag of HTML

Like :- here is an example - Google

You need to change the website link and your button text, and BOOM!

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!