title: JavaScript pass argument this.value to function
body: <p>Here is my javascript code, i want to pass current selected value of the option to my js function, in this code i used static number 6.</p>
  
  <pre><code>&lt;select name='project_name' class='required input_field' id='project_name' onchange="sendRequest('GET','getClientName.jsp?ProjectId=6')"&gt;
  &lt;option value=''&gt;-- Select --&lt;/option&gt;
  &lt;option value="1"&gt;Project 1&lt;/option&gt;
  &lt;option value="2"&gt;Project 2&lt;/option&gt;
  &lt;option value="3"&gt;Project 3&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>help me to solve this...</p>