title: How to create a simple app/page to click on a button on another page
body: <p>I would like to create a html/php page with a button that can click on the draw button on this page <a href="http://andivia.com.sg/dnd/luckydraw.html" rel="nofollow noreferrer">http://andivia.com.sg/dnd/luckydraw.html</a></p>
  
  <p>I have this html page <a href="http://andivia.com.sg/dnd/luckydraw.html" rel="nofollow noreferrer">http://andivia.com.sg/dnd/luckydraw.html</a> which will be displayed on a projector.
  I would like to create another html/php page to trigger the buttons on the above link</p>
  
  <pre><code>&lt;body&gt;
      &lt;h1&gt;Lucky Draw Result&lt;/h1&gt;
      &lt;div id="Result"&gt;
          &lt;span id="ResultNum"&gt;Result&lt;/span&gt;
      &lt;/div&gt;
      &lt;div id="Button"&gt;
          &lt;input type='button' value='Draw' onclick='beginRndNum(this)' /&gt;
          &lt;input type='button' value="Confirm" onclick="skipCandidate()" style="display: none" /&gt;
      &lt;/div&gt;
      &lt;div class="imported"&gt;
          &lt;table id="Data"&gt;&lt;/table&gt;
      &lt;/div&gt;
      &lt;div id="Report" hidden="true"&gt;
          &lt;ul id="messagebox"&gt;&lt;/ul&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>How can I trigger this button from another html/php page?</p>
  
  <p>When I click on the button on the newly created page, it will trigger <a href="http://andivia.com.sg/dnd/luckydraw.html" rel="nofollow noreferrer">http://andivia.com.sg/dnd/luckydraw.html</a> to start the draw.</p>