0

How to undo a remove?

Hello! I just have a little doubt. In javascript I have learned how to remove a div with .remove, but now I also want to know how to undo that remove and return to normal, as it was originally. regards

21st Jul 2019, 9:50 PM
Wilbur
Wilbur - avatar
1 Answer
0
No option. First: hide it by display: none; Second: add it to array; Third: By array return last element to visible elements.
12th May 2020, 6:41 PM
TomĂĄĆĄ WrĂłbel
TomĂĄĆĄ WrĂłbel - avatar