<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();},
うまくいかないのはなぜですか?お願い助けて !