View Full Version : Combining two comands.

07-06-2012, 11:19 PM

I need to combine the two following commands into one link.

<a href="javascript:void(0)"onClick="$( '#p1' ).slideToggle()">Membership Application</a>

<a href="javascript:jumpScroll()">Jump to another place on the page</a>

Thanks a lot in advance for your help.


Old Pedant
07-07-2012, 12:26 AM
<a href="#" onclick="$( '#p1' ).slideToggle(); jumpScroll(); return false;">Membership Application</a>

07-07-2012, 12:30 AM
Thanks a lot!!! works a treat.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum