Skip to main content

replace-node

functionv1.7

clojure.browser.dom/replace-node

(replace-node [old-node new-node])
Replace old-node with new-node. old-node can be an element or a keyword which is the id of the node to replace. new-node can be an element or an html string.

No examples yet. Be the first to add one!