How do you set a Link so that it opens in a new ta

2019-07-28 19:14发布

In my Google App Maker application, whenever a user clicks on a Link, it causes the href link to open in the same window as the application. This causes a problem because the user has to click back in order to access the application again. Is there any way to set the link such that when a user clicks on it (without right click > open new tab), the page opens in a new tab/window? Thanks.

2条回答
贼婆χ
2楼-- · 2019-07-28 20:04

Try window.open('www.your_link.com','_blank');

查看更多
一夜七次
3楼-- · 2019-07-28 20:16

In the app maker property editor for the link widget set the target property to _blankExample

查看更多
登录 后发表回答