i want to detect Link in a Tab is activated or clicked from my code. here the situation
I have tabs that have link to web pages like example below :
And to detect that link is activated, i make this code below :
but it's show an error : $ is not defined
any idea??
thanks, regards : maminx
I have tabs that have link to web pages like example below :
Code:
<ul id="tabs"> <li><a href="http://www.asdf.com"/><span>asdf</span></a></li> <li><a href="http://www.dddd.com"><span>dddd</span></a></li>
Code:
<script type='text/javascript'> $('a').click(function(){ alert('activated'); }); </script>
but it's show an error : $ is not defined
any idea??
thanks, regards : maminx
Comment