title: How to pass the selected value to java script function inside of select tag in html?
body: <pre><code>&lt;form&gt;
  &lt;SELECT NAME="sel" onChange="split(selected value)"&gt;
  &lt;OPTION VALUE=1&gt;Milk&lt;/option&gt;
  &lt;OPTION VALUE=2&gt;tea&lt;/option&gt;
  &lt;OPTION VALUE=3&gt;water&lt;/option&gt;
  &lt;OPTION VALUE=4&gt;coffee&lt;/option&gt;
  &lt;/SELECT&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Hi i need to pass the selected value immediately on inside of this select tag so pls some one help me</p>