Getting the selected option value in jQuery
<p>I would like to print the selected values of all selects using jQuery.
I did it like this, but I feel that there is a nicer way to write the same.
Am I right ?</p>

<pre><code>$("select").each(function() {
    alert(this.options[this.selectedIndex].value);
});
</code></pre>
