title: Dropdown action when selected
body: <p>I am trying to make a HTML page list members of a list from a database, I have made the connections already but when using a dropdown to select the name of the list using an onclick, I would like it to display the list members below.  I have tried to incorporate an onclick function but it keeps linking to another page when I want it to still stay on the same page but list the members.  </p>
  
  <pre><code>&lt;script type="text/javascript"&gt; 
  function changeFunc() 
  { 
  var selectBox = document.getElementById("nameoflist"); 
  var selectedValue = selectBox.options[selectBox.selectedIndex].value; 
  alert(selectedValue); 
  } &lt;/script&gt;
  
  &lt;select name="nameoflist" onchange="changeFunc();"&gt;
  
  &lt;option value="" disabled="disabled" selected="selected"&gt;Select Recipients&lt;/option&gt;
  &lt;option value="All Recipients"&gt;All Recipients&lt;/option&gt;
  &lt;option value="Tech List"&gt;TechList&lt;/option&gt;&lt;/select&gt;
  </code></pre>
  
  <p>Look forward to your help!</p>
  
  <p>CP</p>