Storing jQuery selectors?
Hey all,
I am looking to select an element with jQuery via a mouseclick, and then be able to store a reference to that element in the database to retrieve later.
Essentially, I am working on a development tool to help me speed up my development time. I want to be able to click on any element on the page, and have the script store a reference for later. I won't know what the structure of the page is, or if the element has an id/class associated with it. I understand how to store it - the database access isn't the issue. I just can't think of how to store the reference to the element (or jQuery representation of it).
Thanks,
Dave