Soldato
- Joined
- 1 Sep 2005
- Posts
- 10,001
- Location
- Scottish Highlands
Right, I have two javascripts that I need to run at the same time when a link is clicked;
And
How would I go about combining these two scripts into the same <a href> tag so that when 'About' is clicked on, the Ajaxpage and the hideblock scripts both run? Is it possible?
Code:
<li><a href="javascript:ajaxpage('About.html', 'contentarea');">About</a></li>
And
Code:
<a href="javascript:hideBlock('block1')">About2</a>
How would I go about combining these two scripts into the same <a href> tag so that when 'About' is clicked on, the Ajaxpage and the hideblock scripts both run? Is it possible?