I had this problem too. I tried to do it in Pinot+Noir. Haven't figured it out yet, so curious to see if there's any success with this!
On Dec 16, 1:05 pm, bob <rditm...@gmail.com> wrote: > here is a link to both:https://gist.github.com/1487157 > (hopefully that is what you meant by create a paste. first time > trying it) > > On Dec 16, 10:29 am, David Nolen <dnolen.li...@gmail.com> wrote: > > > > > > > > > Can you create a paste of your index.html as well as your ClojureScript > > file? > > > Thanks! > > David > > > On Thu, Dec 15, 2011 at 5:12 PM, bob <rditm...@gmail.com> wrote: > > > > I new to clojurescript and i thought i would take a simple example > > > likehttp://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onclick > > > > it has javascript that does the following: > > > > <button > > > > onclick="document.getElementById('field2').value=document.getElementById('field1').value">Copy > > > Text</button> > > > > i created the following clojurescript > > > > (defn ^:export copytext [] > > > (let [e (dom/getElement "field2")] > > > (doto e (dom/setTextContent (.value (dom/getElement "field1")))))) > > > > to set the input text field2. > > > > I'm not seeing any errors on the console, but i'm also not seeing the > > > text being > > > copied from field1 to field2. > > > > thanks in advance for pointers on how to get this working. > > > > -- > > > 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 -- 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