title: passing info from form in Page 1 to Page 2
body: <p>I have HTML and I want to use js to pass some info from a form in page 1 to get a specific result in page 2 and I want to do a test on gender and user type to get on Page 2 the result and it will be like this: </p>
  
  <pre><code>function () client{
      var p = get.ElementById("name"); -
      var x = get.ElementById("choice").selectedIndex; *type of user*
      var h = get.ElementById('H'); *Gender*
  
      if (x[1] &amp;&amp; h[0])
      {
          var pa = document.createElement("P");
          var t = document.createTextNode("hello", p ,"vous etes un" x[1]);
          pa.appendChild(t);
          document.body.appendChild(pa);
      }
      if (x[1] &amp;&amp; h[1])
      {
          var pa = document.createElement("P");
          var t = document.createTextNode("hello", p ,"vous etes une ", x[1] ,"e");
          pa.appendChild(t);
          document.body.appendChild(pa);
      }
      if (X[2] &amp;&amp; h[0]) 
      {
          var pa = document.createElement("P");
          var t = document.createTextNode("hello", p ,"vous etes un fournisseur");
          pa.appendChild(t);
          document.body.appendChild(pa);
      }
      if (X[2] &amp;&amp; h[1]) 
      {
          var pa = document.createElement("P");
          var t = document.createTextNode("hello", p ,"vous etes une fournisseure");
          pa.appendChild(t);
          document.body.appendChild(pa);
      }
  }
  </code></pre>
  
  <p>I expect pass the info and pass the to page 2 </p>