[jQuery] Serialize jQuery Objects ?

[jQuery] Serialize jQuery Objects ?


Hello, I wrote a library which records / plays back DOM events with a
faux cursor, its working great looks just like the real thing, however
the one problem is exporting this data so it can be pulled in for
playback in the future. I obviously cannot serialize entire jQuery
objects using as JSON, so what I was hoping for was using xpath or
something so that it could be a very lightweight export. Any ideas? is
there anything unique to the element which stays intact each refresh
that would be worth looking into?
Heres the source if your interested (working locally on export
changes) http://github.com/visionmedia/jquery-event-playback/tree/master