title: Send form with jquery without question mark in url
body: <p>I'm doing a userscript for a site and want to add some button on it, that opens categories from it. They have search box with drop down menu where you should select the category and to click search buttons and then you're navigated to the category.</p>
  
  <p>So I want to add 3, 4 buttons with this categories and every button contains the link to the every category. But when you click any button in url is add "?", which is ok in first page, but when you have pagination and click second page this ? break the url and don't navigate to second page.</p>
  
  <p>example:</p>
  
  <pre><code>http://example.com/torrents/type:pc-iso/
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code> http://example.com/torrents/type:pc-iso/?
  </code></pre>
  
  <p>So is there a better way when click a button to navigate me into the right url without question mark?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>$(this).append(
          "&lt;br /&gt;" + "&lt;br /&gt;" + "&lt;br /&gt;" +
          "&lt;form id=\"beBossButtons\"&gt;" +
          "&lt;table&gt;&lt;tr&gt;" +
          "&lt;td&gt;&lt;button id=\"all-btn\"  class=\"btn btn-sm btn-green4\"&gt;&lt;i class=\"fa fa-search\"&gt;&lt;/i&gt; All&lt;/button&gt;&lt;/td&gt;" +
          "&lt;td&gt;&lt;button id=\"pc-iso-btn\"  class=\"btn btn-sm btn-green4\"&gt;&lt;i class=\"fa fa-search\"&gt;&lt;/i&gt; Software PC-ISO&lt;/button&gt;&lt;/td&gt;" +
          "&lt;td&gt;&lt;button id=\"documentaries-btn\" class=\"btn btn-sm btn-green4\"&gt;&lt;i class=\"fa fa-search\"&gt;&lt;/i&gt; Documentaries&lt;/button&gt;&lt;/td&gt;" +
          "&lt;/tr&gt;&lt;/form&gt;");
  });
  
  $('#all-btn').click(function () {
      var form = document.getElementById("beBossButtons");
      form.action = "/torrents/";
      form.submit();
  });
  
  $('#pc-iso-btn').click(function () {
      var form = document.getElementById("beBossButtons");
      form.action = "/torrents/type:pc-iso/";
      form.submit();
  });
  
  $('#documentaries-btn').click(function () {
      var form = document.getElementById("beBossButtons");
      form.action = "/torrents/type:documentaries/";
      form.submit();
  });
  </code></pre>