| View previous topic :: View next topic |
| Author |
Message |
cipcip
Joined: 31 Jul 2005 Posts: 1
|
Posted: Sun Jul 31, 2005 1:27 pm Post subject: Javascript:and firefox |
|
|
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 |
|
 |
java_hack
Joined: 03 Jul 2006 Posts: 2
|
Posted: Mon Jul 03, 2006 4:38 am Post subject: |
|
|
try you with creating a css class it should work  |
|
| Back to top |
|
 |
jalarie
Joined: 16 Apr 2004 Posts: 57
|
Posted: Mon Jul 03, 2006 8:42 am Post subject: Re: Javascript:and firefox |
|
|
| 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 |
|
 |
reffer101
Joined: 18 Nov 2009 Posts: 1
|
Posted: Thu Nov 19, 2009 9:21 pm Post subject: |
|
|
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 |
|
 |
mtptl
Joined: 02 Sep 2010 Posts: 2
|
Posted: Thu Sep 02, 2010 2:15 am Post subject: |
|
|
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 |
|
 |
|