0

我需要使用 Google Apps 脚本获取 Google 网站的 div 宽度吗?但我不知道如何获得宽度值。我创建了一个文本框和 setWidth("100%"),但我不知道如何获取文本框宽度。感谢帮助! 在此处输入图像描述

4

1 回答 1

1

I don't think it is possible. That is because your Apps Script resides within the Google Site and it cannot access any of the DOM outside the Apps Script's UI. You can open an issue in the Issue Tracker

于 2013-09-06T04:47:10.940 回答