My table is constructed using the PHP code, all the table data is retrieved from database, I run the query from PHP code and construct the table.
In table all first column elements are like links, when I click on first column(table heading 'Click for Detail') of the row... I need to get the value of the same row's third column (table heading 'Facility Name') and I need to display all details of that 'facility'(I will run query to get all these details) under another TAB in the same page.
When I click on first column, to get the same row'w third column value... I did not get any approach. So I gave 'id' to all 'td' elements when constructing table in php. Now if I can get the 'id' of the 'td' element clicked, then I can get coresponding third column value and proceed further.
Hope I gave the clear explanation.
please tell me how can I get the id of clicked 'td' element?