-7
rated 0 times
[
0]
[
7]
/ answers: 1 / hits: 44051
/ 14 Years ago, tue, october 5, 2010, 12:00:00
I have following a tags:
<a href=#tab1>Any tab1 Label</a>
<a href=#tab2>tab2 Label</a>
<a href=#tab3>Any tab3 Label</a>
<script>
function tellMyName()
{
alert(this.href);
}
</script>
Now i want to bind the tellMyName function to all the a tags and get tab1 if Any tab1 Label is clicked, tab2 if tab2 Label is clicked and so on...
More From » jquery