[jQuery] How do i extract the index of an item based within a table?

2009-02-04 Thread paulswansea
Hi, I'm trying to write some jquery code so when i click on the relevent item price, it alerts me with the quantity of that item and also displays the content of the h2 header just before the relevant table, is there a way somehow of finding out the index of the 'td' which is clicked, and then ex

[jQuery] How do i extract the index of an item based within a table?

2009-02-04 Thread paulswansea
Hi, I'm trying to write some jquery code so when i click on the relevent item price, it alerts me with the quantity of that item and also displays the content of the h2 header just before the relevant table, is there a way somehow of finding out the index of the 'td' which is clicked, and then ex