Reading selected value of dropdown list in HTML by jQuery
<p>I am trying to read the value of the selectedID in a drop down list in html through jQuery but it keeps producing an error. Did I miss something?</p>

<pre><code>&lt;select style="width: 80px;" class="text ui-widget-content ui-corner-all" id="metaList"&gt;
&lt;option value="4d5e3a8c418416ea16000000"&gt;Wikipedia&lt;/option&gt;  
&lt;option value="4d5e3a8c418416ea16010000"&gt;Twitter&lt;/option&gt;  
&lt;option value="4d5e3a8c418416ea16020000"&gt;DBPedia&lt;/option&gt;  
&lt;option value="4d64cd534184162629000000"&gt;test&lt;/option&gt;          
&lt;/select&gt;        
</code></pre>

<p>I tried which used to work before</p>

<pre><code>var temp = $("#metaList").val(); 
</code></pre>

<p>but it produces NULL!</p>
