Presently i have the following code on one of my web page-
<a href="http://ex.com" onclick="return popitup2()">Grab Coupon</a>
now I want to run one more script which is used in the following way –
onClick="recordOutboundLink(this, 'Outbound Links', 'ex.com');return false;"
Now can someone tell me how do i call both of these javacsripts when the link is clicked. Thanks in advance.
You can call the two functions in the onclick event handler:
To avoid mixing markup with javascript I would recommend you attaching the
onclickevent for this particular link like this:And in the
headsection: