This makes some tables containing informations inside the "$joueurs" var (from a DataBase).
When I click on a button, I want to get the value of every <input type="text"> related to the same Form that the pressed button comes from, and the "id" of the button pressed ("id_playerXX").
The jQuery code involved, that I want to keep as much as possible, follows :
I can get the id of the button pressed with "id_player: event.currentTarget.id". It works for me. But I can't get the value of the textboxes of the SAME form than the button pressed.
After a lot of search on the Internet, I imagine that it should be something like "name: event.currentTarget.closest('input#name').val()", and I tried a lot of things, but I can't get it to work.
I appreciate any help from you, even if you don't give me answers to my problem.