【发布时间】:2011-02-19 03:17:50
【问题描述】:
嘿, 我正在尝试设置一个 html 文件以在登录按钮上自动单击。 我该怎么做。 我尝试:onclick="window.open(this.href,'_self')"。它不起作用。
【问题讨论】:
-
或在这里:iopus.com/imacros/firefox。我不认为你可以用 Javascript 来做到这一点。
标签: html
嘿, 我正在尝试设置一个 html 文件以在登录按钮上自动单击。 我该怎么做。 我尝试:onclick="window.open(this.href,'_self')"。它不起作用。
【问题讨论】:
标签: html
如果您只是想在页面加载时触发点击,您可以使用:
onLoad="window.open(this.href,'_self')"
【讨论】: