title: Multiaction form by select option with javascript
body: <pre><code>&lt;form id="check" action="." method="POST"&gt;
      &lt;input id="act" type="hidden" name="action"/&gt;
          &lt;select id="blk"&gt;
              &lt;option value="blk"&gt;Bulk Actions&lt;/option&gt;
              &lt;option value="tes"&gt;Active&lt;/option&gt;
              &lt;option&gt;Inactive&lt;/option&gt;
              &lt;option&gt;Delete&lt;/option&gt;
          &lt;/select&gt;
       &lt;input type="submit" value="Submit" onclick="document.getElementById('act').value = 'document.getElementById('blk').selectedIndex.value'"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>i want get the value by select tag and the value action will be change on input with name action as the value</p>