Extract table row data with button on that row with jQuery each()
问题 TLDR I want my script below to return the <input id and value of the table row that the button clicked is in. Right now it always returns the info from the first row only, regardless of which row the button was in. I think what I'm looking to do is simple, and I think I'm pretty close. But this is all a learning process for me so it's possible probable that I'm making a beginner mistake. I'm building a shopping cart. I have table rows that are built in a foreach loop. The basic gist is such