title: how to send textbox's value by url
body: <p>I have a form and i have to sent some values (values of textboxes) NOT by <code>POST</code>, 
  I have to do it by <code>GET</code>.</p>
  
  <p>This is my code:</p>
  
  <pre><code>    &lt;a class="btn btn-warning btn-sm" href="insertcot.php?pais=document.getElementById('pais').value&amp;proyecto=document.getElementById('proyecto').value&amp;notas=document.getElementById('notas').value&amp;formapago=document.getElementById('formapago').value&amp;fechaentrega=document.getElementById('fechaentrega').value&amp;flete=document.getElementById('flete').value&amp;instalacion=document.getElementById('instalacion').value&amp;venta=document.getElementById('venta').value&amp;total=document.get
  ElementById('total').value"&gt;Realizar&lt;/a&gt;
  </code></pre>
  
  <p>In <code>insertcot.php</code> I print show <code>GET</code>:</p>
  
  <pre><code>&lt;?php 
  echo "&lt;pre&gt;"; 
  print_r($_GET); 
  echo "&lt;/pre&gt;";
  ?&gt;
  </code></pre>
  
  <p>And i see it</p>
  
  <pre><code>  Array
      (
          [pais] =&gt; document.getElementById('pais').value
          [proyecto] =&gt; document.getElementById('proyecto').value
          [notas] =&gt; document.getElementById('notas').value
          [formapago] =&gt; document.getElementById('formapago').value
          [fechaentrega] =&gt; document.getElementById('fechaentrega').value
          [flete] =&gt; document.getElementById('flete').value
          [instalacion] =&gt; document.getElementById('instalacion').value
          [venta] =&gt; document.getElementById('venta').value
          [total] =&gt; document.getElementById('total').value
      )
  </code></pre>
  
  <p>As I can see, I'm not getting the values...</p>
  
  <p>How could I do to get them</p>