Will have a look over the next few days.
Thanks you very much.
Jono
2009/11/26 Derek Chen-Becker
> I haven't tried it, but I'm pretty sure that if you give the button an id
> you should be able to fire the text change from the AJAX handler. Something
> like:
>
> import net.liftweb.http.js._
>
I haven't tried it, but I'm pretty sure that if you give the button an id
you should be able to fire the text change from the AJAX handler. Something
like:
import net.liftweb.http.js._
import JE._
SHtml.ajaxButton("Click me!", () => { doSomethingServerSide();
JsCmds.SetElemById("myButton", "Click
I've looked through the API and couldn't find anything that seemed suitable.
We need an ajax button that when clicked will fire an event to the server
and then toggle the button text. This could be by having two different
buttons and only showing one.
Cheers
Jono
--
You received this message be