<span id="continue" class="a-button a-button-span12 a-button-primary"><span class="a-button-inner"><input id="continue" tabindex="5" class="a-button-input" type="submit" aria-labelledby="continue-announce"><span id="continue-announce" class="a-button-text" aria-hidden="true">
Continue
</span></span></span>
在页面部分的 HTML 上方,该页面有一个我试图点击的“继续”按钮,使用我的脚本。
所以,用 Javascript 编写,我试图点击这个按钮。但我没有尝试过任何工作。
我尝试的答案是:
function() {
var goButton = document.getElementById("continue");
goButton.click();},
为什么它不起作用?请帮帮我 !