既に進行中のウェブサイトボタンをクリックしたいと思います。 例: url:www.google.com .. PHP、Javascript、Jquery、Ajaxのいずれかのメソッドを使用して、Google検索ボタンをプログラムでクリックします。誰でも解決策を知っている場合 私に教えてソースコードを提供してください。プログラムでウェブサイトボタンをクリックしたい
注:クラスとIDを使用してウェブサイトボタンをクリックしたい独自のボタンを作成する必要はありません。
あなたがいるように見える私はこのようなthis..look試してみたいけどsuccess..Iは、IFRAMEのshowあるHTMLボタン... w3schoolのウェブサイトで学ぶクリックしたくない...
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<iframe src="http://www.w3schools.com" width="800" height="400"></iframe>
<script>
//setInterval(function() {$("#hand_1151079882").click();}, 3000);
function clime(){
setInterval(function() {document.getElementById("#w3-btn").click();}, 3000);
alert();
}
//using javascript
$(document).ready(function() {
$(".cli").on('click', function(event){
$("#w3-btn").trigger('click');
});
});
</script>
<input type="button" class="cli" name="clime" value="submit" onclick="clime()">
php 'curl()'または 'file_get_contents()'または 'fopen' – nogad