Anonymous wrote:It only happens in Scottrade
They need to fix their site. Go **** at them.
Guest,
This is a family forum and that language is not allowed. I edited your post to remove the language. Don't do it again.
Guest wrote:flanagan is correct. The correct way to access a particular element of the forms object:
document.forms[x]
If a site produces an error that document.forms is not a function, it can only mean that parentheses were used. Open your error console and try these javascript links. The first should produce an alert. The second will produce an error.
<a href="javascript:alert(document.forms[0]);">document.forms[0]</a>
<a href="javascript:alert(document.forms(0));">document.forms(0)</a>
http://www.quirksmode.org/js/forms.html