/ Published in: jQuery
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$( 'el' ).each( function( intIndex ){ $( this ).bind ( "click", function(){ alert( "tab number: " + intIndex ); //loop $(this).addClass("hilite"); //css var thisTarget = $(this).html(); //grab innerHTML } ); } );
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)