I was refering to js manipulation because it gets confused as to whether
submit is an attribute or a method.
If you name an object "submit" the document.forms[0].submit  is just an
object reference and does not invoke the submit method of the form. I know,
I know,  you should always have () on a method but the browsers are tolerant
and that can cause problems.


----- Original Message -----
From: "Andrew Tyrone" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, October 03, 2001 4:33 PM
Subject: RE: Netscape 6 and JS form submitting


> As long as the type attribute is equal to "submit" the form will submit
> fine.  If you name your submit button, you will just have a formfield in
> the action page called whatever you named it on the form page along with
> it's value equal to whatever you set it to on the form page.
>
> > -----Original Message-----
> > From: Don Vawter [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 03, 2001 6:21 PM
> > To: CF-Talk
> > Subject: Re: Netscape 6 and JS form submitting
> >
> >
> > I don't know if this applies or not but make sure you don't name a
> submit
> > button "submit" or you will lose your hair like I did - confuses
> > the browser
> > big time.
> >
> > ----- Original Message -----
> > From: "Dave Watts" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Wednesday, October 03, 2001 4:19 PM
> > Subject: RE: Netscape 6 and JS form submitting
> >
> >
> > > > Sorry for the very off topic post, but this has me stumped
> > > > and you all have always been the best place to go to for help.
> > > >
> > > > Netscape 6 has very little documentation out there, so doing
> > > > the simplest tasks seems tough.
> > > >
> > > > I am just trying to submit a form using Javascript... and it
> > > > won't work.
> > > >
> > > > document.form.submit() returns an error saying that object is
> > > > not a function.
> > >
> > > Have you tried document.forms[0].submit()?
> > >
> > > Dave Watts, CTO, Fig Leaf Software
> > > http://www.figleaf.com/
> > > voice: (202) 797-5496
> > >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to