Sam Collett a écrit :
> You can workaround this though usign each:
>
> $("a").each(
>     function(i)
>     {
>         $(this).click(
>             function(e)
>             {
>                 e.preventDefault();
>                 alert("item " + i + " clicked with href = " + this.href);
>             }
>         )
>     }
> );
>
>   
Thanks, it's perfectly fine for me :)


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to