[thelist] Calling multiple functions in single onclick

Joshua Olson joshua at waetech.com
Mon Aug 1 10:26:30 CDT 2005


> -----Original Message-----
> From: Christian Heilmann
> Sent: Monday, August 01, 2005 11:10 AM

> Give your form a normal submit button and do an onsubmit on the form:

Agreed, 100%.

> <form action="checkout.php" onsubmit="logevent();">

Make sure you change this to:

<form action="checkout.php" onsubmit="return logevent();">

Adding the "return" enables the function to be able to cancel the submit by
returning false.

<><><><><><><><><><>
Joshua L. Olson
WAE Tech Inc.
http://www.waetech.com/
Phone: 706.210.0168 
Fax: 413.812.4864

Monitor bandwidth usage on IIS6 in real-time:
http://www.waetech.com/services/iisbm/




More information about the thelist mailing list