title: how to Use values from a specific line from within the textarea to submit GET form
body: <p>How to use values from a specific line from within the TextArea to submit a form?</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;input type='button' value='submit' onclick='document.getElementById("submit-line-3") .submit();'/&gt;
  
  &lt;textarea&gt;
  aaa-bbb-ccc-ddd
  eee-fff-ggg-hhh
  iii-jjj-kkk-lll
  &lt;/textarea&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>For example:
  I want to send a form GET to search.php so that the GET values are extracted from within TextArea.</p>
  
  <p>So the JavaScript reads the example of the third line and sends it to a <a href="https://example.com/search.php" rel="nofollow noreferrer">https://example.com/search.php</a> file, and the form is sent like this:
  <a href="https://example.com/search.php?val1=iii&amp;val2=jjj&amp;val3=kkk&amp;cel=lll" rel="nofollow noreferrer">https://example.com/search.php?val1=iii&amp;val2=jjj&amp;val3=kkk&amp;cel=lll</a></p>
  
  <p>And to send a request GET, silently hidden without reloading the page</p>