title: Can I use post to click a button on a page in JQuery?
body: <p>I'm trying to request a page and click a button on it without opening a window so I'm thinking post could work. Here is my code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;test&lt;/title&gt;
          &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"&lt;/script&gt;
          &lt;script&gt;
              $(document).ready(function() {  
                  $.post(
                      "http://m.roblox.com/Catalog/VerifyPurchase?assetid=161075864&amp;type=tickets&amp;expectedPrice=1",
                      $("ui-block-a").submit();
                  );
                  alert("work");
              });
          &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>If I'm understanding post correctly, the first argument is the url to which it requests from and the second argument is the one where you can send data. I'm trying to send a request to click the "buy" button on the page if you follow the link. Can anyone help?</p>