
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
If you don't find the answer to your question in these archives, ask your CGI question at the Current Master Series CGI Forum.
| Author | Message |
|---|---|
| 23Aug01 russell |
Subject: 2 onClick functions? Hi, If I am validating a form AND preventing multiple clicks, is the following code correct? Thanks. |
| 27Aug01 Will |
In response to: 2 onClick functions? Russell, only one onClick="___" can be used with certainty. The way to do what you're trying to do is to include one of the functions in the other. Then, use only one onClick. In your above example, your count() function could include the line ValidateAll(); Then you only need the one onClick statement: onClick="return count()" |