Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple functions with "onclick"?

Status
Not open for further replies.

jruiseco

Programmer
Oct 10, 2001
52
US
How do I call two functions from one onclick within input submit code?

<input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Continue With Order&quot; onClick=&quot;return checkstate()&quot;&quot;return ShipAlert()&quot;>
 
try using ; instead of &quot;&quot; and no return, or return on shipAlert() only...

<input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Continue With Order&quot; onClick=&quot;checkstate();ShipAlert()&quot;>

-spewn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top