Using non-standard attributes
问题 I am having trouble passing around values without using global variables when I am creating html/jquery applications. Quick example 1) Load a table with a class such as "playersTable" 2) Attach a unique ID such as "25" 3) Click on the table row and spawn a row of buttons that will perform actions based on the parent's class and ID; such as query playersTable WHERE row = 25, etc. The issue is that, as I am developing, I need to tie more and more values to the parent element (or any element