4 ms·
As soon as you need to store some state elsewhere you can store it in another suitable form (there's often some state not visually represented). I seem to recal
by robocat 2y ago
As soon as you need to store some state elsewhere you can store it in another suitable form (there's often some state not visually represented). I seem to recall jQuery stored state on a POJO (plain old JavaScript object) within a JavaScript variable of an element.