Uncaught TypeError in Chrome and Safari when referencing the name of a dropdown in JavaScript
<p>The following code only seems to work in IE. In Chrome or Safari, I get the following error:</p>

<p>The console error I get in Chrome is:</p>

<blockquote>
  <p>Uncaught TypeError: Property 'choosetext' of object # is not a function </p>
</blockquote>

<p>Here's the code:</p>

<pre><code>function LoadPageText(){
document.location.href = "editpage.asp?file="+document.form.file.value+"&amp;text="+document.form['choosetext'](document.form['choosetext'].selectedIndex).value;
}
</code></pre>

<p>How do I resolve this error for Safari and Chrome?</p>
