I have Googled my question multiple times, with different phrases, and have either gotten answers that don't work, asdign the element to a variable, or only work with one variable.
What I am trying to find out is if it is possible to assign objects to elements, and if so, find out how to do so and be able to retrieve that data for (in my case) an append() call. I have tried using data(), but I could not find any way to pull the data back out for the append() (none of the tutorials I found had any mention of displaying the data).
Any help is greatly appreciated.