title: how to get the selected index of a drop down
body: <p>I have a normal dropdown which I want to get the currently selected index and put that in a variable. Jquery or javascript. Jquery perfered.</p>
  
  <pre><code>&lt;select name="CCards"&gt;
  &lt;option value="0"&gt;Select Saved Payment Method:&lt;/option&gt;
  &lt;option value="1846"&gt;test  xxxx1234&lt;/option&gt;
  &lt;option value="1962"&gt;test2  xxxx3456&lt;/option&gt;
  &lt;/select&gt; 
  </code></pre>