Apr 17, 2019 02:01 AM|Madog|LINK
Thanks for responding Jenifer.
I have taken a completely different tack, and stored HTML elements in their own object, according to the modal build they are required in.
I have found out if you deep clone an object containing HTML elements, any change to those elements in either object are reflected in the other object.
Changing Id made previously stored elements disappear and now I understand why.
Please see my response below re cloneNode() that I will try to use.