I have ads served via adspeed.com I would like our rich text (testimonial) ads to refresh each time you click a tab link. Is it possible to reload a script when you click a link? currently the script is just placed inside a div as such and executes on page load..
div id="quoteContain">
<!-- AdSpeed.com Serving Code XXX for [Zone] XXX -->
<script type="text/javascript" src="http://g.adspeed.net/ad.php?do=XXX&wd=200&ht=600&target=_top"></script>
<noscript><iframe width="200" height="600" src="http://g.adspeed.net/ad.php?do=XXX&wd=200&ht=600&target=_top" frameborder="0" scrolling="no" >
<a href="http://g.adspeed.net/ad.php?do=XXX&wd=200&ht=600&pair=as" target="_top"><img style="border:0px;" src="http://g.adspeed.net/ad.php?do=img&zid=XXX&wd=200&ht=600&pair=as" alt="i" width="200" height="600"/></a></iframe>
</noscript><!-- AdSpeed.com End -->
<!-- /quoteContain --></div>
I have been trying to remove the script from the div and load it each time with no success
$("ul#flowtabs li a").click(function(){
$("#quoteContain").load("http://link?params");
)};