clojure.browser.dom/set-text

functionsince v0.0-927Edit
(set-text e s)

Source docstring:
Set the text content for the passed element returning the
element. If a keyword is passed in the place of e, the element with
that id will be used and returned.
Source code @ clojurescript:src/main/cljs/clojure/browser/dom.cljs
(defn set-text
  [e s]
  (gdom/setTextContent (ensure-element e) s))