[thelist] Calling multiple functions in single onclick

klute soundres9 at yahoo.com
Mon Aug 1 09:45:11 CDT 2005


Hello All,

Newbie here. I have a form which is submitted by a
click on a link:

<a href="#" onclick="return
document.forms.orderform.submit();">checkout</a>

If I wanted to call another javascript function
(logevent()) upon the onclick event prior to
document.forms.orderform.submit(), what would the code
look like?

Thanks a lot
James


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the thelist mailing list