best way to reference an element with jquery?
<p>I want to know how can I save a reference to an object (this) using jquery. what I mean is for example I want when my user clicked on any element in his page, I send the reference of object to my webserver, and next time user calls the server, I send back the saved refernce to browser, and do other stuff like fadeIn() ... so far I've tried using JSON.stringify(this) and JSON.stringify($(this)), but both dont seem to work. I also tried saving elemen't ID and class and type, so next time user calls them I could just use selectors, but since I wan to use the script on any website, things might not be the ideal to use selectors. is there any way to get the exact refernce to an element and send it to server ?</p>
