...

View Full Version : Combining two comands.



alwaystrying
07-07-2012, 12:19 AM
Hi,

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.

:confused:

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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum