>----------------------------------
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>
> Haven't used this with onclick, but this
> works with onsubmit, so I imagine it would
> be no different
>----------------------------------
an event handler is an event handler. they all work fundamentally the
same -- they wait for interaction in some form from the user and execute the
statements contained in their value.
>----------------------------------
> onsubmit="javascript:MyFunction1();
> javascript:MyFunction2();
> javascript:MyFunction3();
> javascript:MyFunction4();"
>----------------------------------
you do not need to include "javascript:" (without the quotes) in event
handlers when calling functions. the browser assumes that the event handler
is referring to javascript. what's worse is that including the
"javascript:" will cause it to not work or work bizarrely in some browsers.
onsubmit="MyFunction1();
MyFunction2();
MyFunction3();
MyFunction4();"
good luck,
..jeff
name://jeff.howden
game://web.development
http://www.evolt.org/
mailto:[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists