selectedIndex - javascript on Google Chrome
<p>Can anyone please tell me why doesn't this work on Google Chrome:</p>

<pre><code>val = document.form.option[document.form.selectedIndex].value;
</code></pre>

<p>How should I get around this so that other browsers (like IE and FF) don't get screwed up.<br>
Many thanks in advance.</p>
