You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a function modifies the DOM using a user provided element, the function should check if the element exists before cloning it. For example, append and prepend currently always clone an element before putting it on the page. This is convenient when adding an element to the page multiple times, but it can be annoying when trying to bind events.
This applies to .append(), .prepend(), .html(), and .replace()
If a function modifies the DOM using a user provided element, the function should check if the element exists before cloning it. For example, append and prepend currently always clone an element before putting it on the page. This is convenient when adding an element to the page multiple times, but it can be annoying when trying to bind events.
This applies to
.append()
,.prepend()
,.html()
, and.replace()
https://developer.mozilla.org/en-US/docs/Web/API/Node/contains
The text was updated successfully, but these errors were encountered: