title: Want to Click on a Website Button Programatically
body: <p>I want to Click on a Website button that are already going on. 
  For example:
  like url: www.google.com..
  I want to Click Google Search button programmatically by using any method in PHP, Javascript, Jquery and Ajax.
  if Anyone know Solution. Please tell my and provide the source code.</p>
  
  <p><strong>Note: We dn't need to create own button we want to click on a website button by using class and id.</strong></p>
  
  <p>I want to try this..look like this but not success..I want to click Learn HTML button that are show on iframe...in w3school website..</p>
  
  <pre><code>&lt;script src="https://code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;iframe src="http://www.w3schools.com" width="800" height="400"&gt;&lt;/iframe&gt;
  
  &lt;script&gt;
  //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');
  });
  
  });
  
  &lt;/script&gt;
  &lt;input type="button" class="cli" name="clime" value="submit" onclick="clime()"&gt;
  </code></pre>