Answer the question
In order to leave comments, you need to log in
How to get data from a table by id?
There is a table by clicking on tr, you need to get data from a specific td (each has its own id).
The data for the table I receive from a DB.
By clicking on tr :
I don't get the desired result (
$(this).find('#user_id‘)
Answer the question
In order to leave comments, you need to log in
Here is an example: jsfiddle.net/pcod2wd7
but why assign an ID (identifier) to each block if you can read it and take its value.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question