Probably because you cannot serialize a nodelist you'll need to think about what it is you want to store exactly
so I have to make an object or array of what I want?
Idk what your intent is, but if you're trying to reserve some dom element order you can probably solve for it in a better way than trying to store everything about the dom in localStorage
Do not save the nodes, but the data used to render those nodes.
Обсуждают сегодня