Why not assign a set of IDs to the elements you want to export? That will allow jQuery to quickly recache the elements.
On Apr 29, 11:41 am, tjholowaychuk <tjholoway...@gmail.com> wrote: > 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