Getting the row data from clicking a button inside a cell

Getting the row data from clicking a button inside a cell

rzxxiiirzxxiii Posts: 1Questions: 1Answers: 0

I have this table that has an action column which has an edit,delete and view buttons. When you click edit the values of the row will transfer to a modal now I'm populating the table using Ajax and server side mode. So I don't really know how I can get the rows of that values into my modal. I've been trying numerous approach but to no avail.

Here is the code for my javascript and how I populate my table: http://pastebin.com/bCL9LRUG

Question is: How do I get the data from my row using a click event in the same row and transfer the data to a Modal so I can do my update transactions on it.

Thanks,
Jet

This discussion has been closed.