【发布时间】:2014-05-15 14:41:19
【问题描述】:
是否可以在 Google 电子表格脚本编辑器中重定向 URL? 我试过这个,但它在脚本完成之前重定向:
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(function()
{$("#myiframe").load(window.location.replace('https://www.yahoo.es');});
</script>
<iframe src="https://docs.google.com/a/ageinfo.es/spreadsheets/d/ID" width="760"
height="700" frameborder="0" marginheight="0" marginwidth="0">
Loading...
</iframe>
谢谢
【问题讨论】:
标签: javascript redirect spreadsheet