[jQuery] How to get element's number of position, mean eq()

2008-05-28 Thread mtest
Hello again:) My qгestion is: I have several "attention" block: ... And there are button close in this blocks How I can get number, in which "attention" block clicked on the button? $('.Attention .Close').bind("click", function(){ alert($(this).eq()); }); How I can get numper of [position i

[jQuery] How to get element's number of position, mean eq()

2008-05-28 Thread mtest
Hello again:) My qгestion is: I have several "attention" block: ... And there are button close in this blocks How I can get number, in which "attention" block clicked on the button? $('.Attention .Close').bind("click", function(){ alert($(this).eq()); }); How I can get numper of [position i