3 ms·
Yes. You got a valid point here. This does not gonna work for 100% for dynamically generated content. But should work for statically generated contents. $.data
by arunoda 15y ago
Yes. You got a valid point here. This does not gonna work for 100% for dynamically generated content. But should work for statically generated contents.
$.data('my_element', el) works if you everything works on the same page without refreshing the window. But I wanted a way to store the signature on a DB and make it highlighted at some point later.