title: Select option choice from form
body: <p>I am working on a project using iframes.  The last issue I am having is trying to access the value of the dropdown menu.  Now I know normally to access the value I would use this code:  </p>
  
  <pre><code>var e = document.getElementById("ddlViewBy");
  var strUser = e.options[e.selectedIndex].value;
  </code></pre>
  
  <p>My problem is since I have to access it from the forms I thought I could use this:</p>
  
  <pre><code>var e = path.type.value;
  dropChoice = e.options[e.selectedIndex].value;
  </code></pre>
  
  <p>However it is not working.  Any suggestions?</p>