title: How to send two parameters with Javascript function on a select option
body: <p>I made a Javascript function </p>
  
  <pre><code>function doReload(zone){  
  document.location = 'proprete.php?zone=' + zone;  
  } 
  </code></pre>
  
  <p>that I use with a select option </p>
  
  <pre><code>&lt;form action="proprete.php" method="post"&gt;  
  &lt;select id="zone" name="zone" onChange="doReload(this.value);"/&gt; 
  //code 
  &lt;/form&gt;
  </code></pre>
  
  <p>so whenever I change the selected option the page do a reload and send the value in the link.</p>
  
  <p>I'm stuck as I wanted to send another parameter (dynamic) to the link as well but couldn't figure out how..</p>
  
  <p>edit:</p>
  
  <p>the other parameter comes from another form</p>
  
  <pre><code>&lt;form action="proprete.php" method="post"&gt;
              &lt;input type="week" name="week" id="week" class="inpBox"  style="height: 30px;width:200px;font-size: 15px;"&gt;
              &lt;input type="submit" value="Basculer vers" name="basculer" style="height: 30px;width:150px;font-size: 15px;"/&gt;
          &lt;/form&gt; 
  </code></pre>
  
  <p>Could you please help :) </p>