Sometimes the issues is that the button name string has is not legal.
In that case use onClick="document.formName.elements[\"Button
Name\"].click();return false;">
The overall approach you are using seems fine and has worked for us.
Does the button actually exist in the HTML, or just in ND?
Brendan Johnston
TeamND
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, April 14, 1999 3:32 PM
To: [EMAIL PROTECTED]
Subject: [ND] help on javascript
Hi Forum Pals,
I have a question for javascript gurus, I wanna call the click
method of an ND button from the onClick event of a href, I tried following
things but none worked-
1. onClick = "document.formName.buttonName.click()"
2. Made a function that does the same thing as 1 and called the
function at onClick event of the href.
Basically I want the webVars to be submitted onClick of the href,
with the above things it simply does nothing. I don't know what I am
missing, if any body knows please let me know.
Thanks
Vishal
_________________________________________________________________________
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]