javascript won't work on IE7

T

tong

Dear group,
IE 7 is just installed on my computer as their auto update, then my
web project crashes. It used to work perfectly on IE6 and firefox. The
problem is that IE7 choke on this standard javascript statement:

document.forms['formname'].submit();

I 've tried other variations such as:
document.forms[0].submit();
or
var oF=document.getElementById('formname');
oF.submit();
or
document.formname.submit();

everytime, IE7 says it finds a null object! All these variations run
perfectly on IE6 and FireFox.

So my advise, DONOT use IE7 !!! Who knows what else it will break?

Extremely frustrated,
 
J

Jan Il

Hi tong :)

This is the newsgroup for Internet Explorer 6. Users of the IE7 Public
Release are asked to post their comments & questions to seek support in the:
'microsoft.public.internetexplorer.general newsgroup'

On the web:
(http://www.microsoft.com/communitie...?dg=microsoft.public.internetexplorer.general)

In your newsreader:
(news://msnews.microsoft.com/microsoft.public.internetexplorer.general)

Hope this helps.

Jan :)
MS MVP - Windows IE [DTS/AumHa]
Smiles are meant to be shared,
that's why they're so contagious.

Replies are posted only to the newsgroup for the benefit or other readers.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top