Is the .value property of HTMLSelectElement reliable <p>Consider an html select box with an id of "MySelect". </p> <p>Is it safe to get the value of the selected option like this:</p> <pre><code>document.getElementById("MySelect").value; </code></pre> <p>rather than this:</p> <pre><code>var Sel = document.getElementById("MySelect"); var MyVal = Sel.option[MyVal.selectedIndex].value; </code></pre> <p>It appears to be safe but I've never seen documentation on it.</p>