Multiple buttons does mean something.

Try document.pageName.submit() on an ND page with
First, Prev, Next, Last etc.

It will go and perform whichever Submit button (<INPUT TYPE=SUBMUT...>)
appears first in the form.

Aby

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 08, 1999 8:12 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [ND] javascript form.submit() with nd forms and netscape
> 
> 
> Multiple buttons in a page doesn't mean nothing since you can have zero
> button in your page
> when you use JavaScript.
> 
> "Mathew, Aby" <[EMAIL PROTECTED]> wrote:
> >I think you need to take a closer look at what is going wrong.
> >
> >document.pageName.submit() 
> >
> >works with Netscape. And when there are multiple Submit buttons in the
> page,
> >it takes the first one.
> >
> >My version is Netscape communicatorr 4.04,  but I don't think it really
> >matters.
> >
> >
> >Aby
> >
> >
> >> -----Original Message-----
> >> From:      James Law [SMTP:[EMAIL PROTECTED]]
> >> Sent:      Wednesday, April 07, 1999 11:08 AM
> >> To:        [EMAIL PROTECTED]
> >> Subject:   [ND] javascript form.submit() with nd forms and netscape
> >> 
> >> I recently wrote some javascript to handle autofrom submission-
> basically
> >> when a user changes a combobox, i wanted the nd form to submit. In the
> >> onChange event handler i wrote
> >> javascript:document.pagMenu.submit()
> >> 
> >> this works find under IE4, but under netscape the correct form can't be
> >> found. I also couldn't
> >> use document.formname.reset() either. Anyone else seen this problem? I
> got
> >> around the problem
> >> by doing document.elements["elementName"].click() but I am curious.
> >> James Law
> >> [EMAIL PROTECTED]
> >> 
> >> 
> >>
> _________________________________________________________________________
> >> 
> >> For help in using, subscribing, and unsubscribing to the discussion
> >> forums, please go to:
> http://www.netdynamics.com/support/visitdevfor.html
> >> 
> >> For dire need help, email: [EMAIL PROTECTED]
> 
> _________________________________________________________________________
> 
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
> 
> For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to