title: Dropdown onchange function into html
body: <p>I want to use Dropdown onchange function into html to pass value, it works fine in submit button, But I want to use Dropdown onchange, Pls help how to do it?</p>
  
  <pre><code>&lt;form method="post" action=" "&gt;
      &lt;div align="center"&gt;
          &lt;select name="value"&gt;
              &lt;option value=""&gt;Show Value&lt;/option&gt;&lt;br /&gt;
              &lt;option value="2"&gt; 2  &lt;/option&gt;&lt;br /&gt;
              &lt;option value="5"&gt; 5  &lt;/option&gt;&lt;br /&gt;
              &lt;option value="10"&gt; 10 &lt;/option&gt;&lt;br /&gt;
              &lt;option value="20"&gt; 20 &lt;/option&gt;&lt;br /&gt;
          &lt;/select&gt;
          &lt;input type="submit" name="submit" value="Submit"&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>