title: get the value of <select> without submitting on the same page using php
body: <p>Hope someone can help me.. 
  i made my program more simpler so that everybody will understand..
  i want my program to get the value of the  without submitting, i know that this can only be done by javascript or jquery so I use the onChange, but what I want is  when i select an option the value should be passed immediately on the same page but using php..</p>
  
  <pre><code>&lt;select id="id_select" name="name" onChange="name_click()"&gt;
  &lt;option value="1"&gt;one&lt;/option&gt;
  &lt;option value="2"&gt;two&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;script&gt;
  function name_click(){
  value_select = document.getElementById("id_select").value;
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>and then i should pass the value_select into php in post method.. i dont know how i will do it.. please help me.. </p>