You are absolutely right. When you click a button the button name and value
go as nvp. When you Submit with Javascript nothing goes unless you set
hidden fields for this purpose. What made me think Javascript was 'clicking'
the first button was the default behaviour of the page.

Thanks,

Aby


> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 08, 1999 11:34 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [ND] javascript form.submit() with nd forms and netscape
> 
> 
> Let's say yes and no.
> 
> For sure you can place multiple buttons on a page.
> 
> But how ND knows wich one you have clicked ?
> 
> To my knowledge it's because a form submit send all the input fields
> (hidden, text,...)
> and the button name that you have clicked (not the other buttons).
> I think then that your ND page got a default behaviour...
> Does a specific onWebEvent of a button was really triggered by ND?
> When doing a submit via javascript you must put a hidden field with the
> same name than a button
> and a hidden value identifying the specific action you want to perform.
> 
> I'm using this solution since in my interface I have no place 
> for many (ugly) buttons and the SUBMIT TYPE=IMAGE doesn't work with
> Netscape.
> Also I used this solution to perform specific actions sent by
> an external ActiveX application (with IE of course).
> 
> Am I wrong ?
> 
> "Mathew, Aby" <[EMAIL PROTECTED]> wrote:
> >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
> >
> 
_________________________________________________________________________

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