document.forms is not a function

User Help for Mozilla Firefox
User avatar
Dartman
Moderator
Posts: 11995
Joined: February 9th, 2006, 9:43 pm

Post by Dartman »

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.
Alcohol and Calculus don't mix. Never drink and derive.
tecum
Guest

Post by tecum »

That appears to be right, I've sent an email to their so called Tech support. Thanks for the help.
tecum
Guest

Post by tecum »

fyi,

Dear Client,


Thank you for your email. We have duplicated this problem within the
Mozilla Firefox web browser. We will forward this information on to our
Quality Assurance department, and hopefully they can get this resolve
resolved. In the meantime we kindly ask that you use the Internet
Explorer web browser to do mutual fund research.
Guest
Guest

Post by Guest »

Thanks for the follow-up. Hopefully they'll actually do something about it.
User avatar
Trevor A.
Posts: 354
Joined: February 16th, 2007, 5:20 pm

Post by Trevor A. »

You can also use the IE tab extension to use the rendering engine that IE uses right inside Firefox. You could also save their page to disk, correct the mistake that flanagan pointed out, and submit the form (with absolute urls) that way.
Guest
Guest

Re:

Post by Guest »

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



I was receiving the same error and this post fixed it! Thank you!!
Locked