title: How to recreate a GET request from an HTML form with a different trigger
body: <p>I have an HTML form:</p>
  <pre><code>&lt;form action=&quot;&quot; method=&quot;get&quot;&gt;
      &lt;input type=&quot;text&quot; name=&quot;seq&quot; placeholder=&quot;Search by ID&quot;&gt;
      &lt;input type=&quot;submit&quot; value=&quot;Search&quot;&gt;
  &lt;/form&gt;
  </code></pre>
  <p>when submitting the string <code>000</code> for example, this sends the <code>GET</code> request:</p>
  <pre><code>myurl/?seq=000
  </code></pre>
  <p>and the page reloads with the extra information. so far so good.</p>
  <p>How can I recreate this exact behaviour but with a different trigger instead of the submit button for sending the <code>GET</code> request? for example, I attempted to use an <code>onkeyup</code> to link to a javascript function but I cannot find a way of making a simple javascript GET request that actually loads a page.</p>