I'm trying to do something like this in ClojureScript: (classes/add (nth (children (dom/getElement "topbar")) idx) "selected")) However I'm not sure what "children" should be. I tried (.children but that doesn't seem to work with nth. So I guess, in general, how do I return the children of a DOM node as a seq?
Thanks, Timothy -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en