Discussion Forums - Forums for discussion of accessible web site design
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister  Content Enhanced - Use Any Browser
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Javascript:and firefox

 
Post new topic   Reply to topic    Any Browser Forums Forum Index -> Java/Javascript/Flash/Other
View previous topic :: View next topic  
Author Message
cipcip



Joined: 31 Jul 2005
Posts: 1

PostPosted: Sun Jul 31, 2005 1:27 pm    Post subject: Javascript:and firefox Reply with quote

hi,
i have tried this code on firefox:

Code:
<script.....>

document.form.submit
</script>


but doesent' work properly, what can i use instead of this script?
Back to top
View user's profile Send private message Send e-mail
java_hack



Joined: 03 Jul 2006
Posts: 2

PostPosted: Mon Jul 03, 2006 4:38 am    Post subject: Reply with quote

try you with creating a css class it should work Idea
Back to top
View user's profile Send private message
jalarie



Joined: 16 Apr 2004
Posts: 57

PostPosted: Mon Jul 03, 2006 8:42 am    Post subject: Re: Javascript:and firefox Reply with quote

cipcip wrote:
document.form.submit

The document might contain several forms, so the reference needs to be plural and needs to specify which one. And, "submit" is a method, so it needs parenthesis. I expect that you have only one form, so this should work:

Code:
document.forms[0].submit()

_________________
Please visit my web site at http://spruce.flint.umich.edu/~jalarie/.
Back to top
View user's profile Send private message Visit poster's website
reffer101



Joined: 18 Nov 2009
Posts: 1

PostPosted: Thu Nov 19, 2009 9:21 pm    Post subject: Reply with quote

I don't know but i use roboform a software which combines it self with firefox and you can use to fill forms.
_________________
g shock watches | Hugo Boss Watches
Back to top
View user's profile Send private message Yahoo Messenger
mtptl



Joined: 02 Sep 2010
Posts: 2

PostPosted: Thu Sep 02, 2010 2:15 am    Post subject: Reply with quote

It's because of document.all in your javascript.
document.all is not a standard.

You better use document.getElementById
_____________________________
Breast Enhancement | Breast Augmentation
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Any Browser Forums Forum Index -> Java/Javascript/Flash/Other All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
This board is protected by Phpbbantispam
Powered by phpBB © 2001, 2005 phpBB Group