Oops typo:

 import net.liftweb.js.jquery._

should be

 import net.liftweb.http.js.jquery._

I just wrote the code in the mail (no IDE) to highlight the concept
not necessarily copy-paste-able :)

Br's,
Marius

On Jul 23, 5:29 pm, Dorinel <dorinel.munte...@gmail.com> wrote:
> marius d. wrote:
> > Try:
>
> > <button type="button" onclick={ajaxCall(JsRaw("$('#whoField').attr
> > ('value')"), updateWho _)._2}>{?("send")}</button>
>
> This still is not working for me, it's what I get:
>
> use java command with args in file forced : false
> /home/dorin/work/scala/hello-lift/src/main/scala/net/liftweb/hello/
> snippet/HelloFormAjax.scala:22: error: ')' expected but string literal
> found.
>         "who" -> whoNode("world")
>
> When I'm trying your import:
>  use java command with args in file forced : false
> /home/dorin/work/scala/hello-lift/src/main/scala/net/liftweb/hello/
> snippet/HelloFormAjax.scala:8: error: value js is not a member of
> package net.liftweb
> import net.liftweb.js.jquery._
>                    ^
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to