import js._
import JsCmds._
SHtml.a(() => {Alert("Hi Greg")}, Text("Create an activity"))
SHtml.a(() => {SetHtml("here", Hi Greg)}, Text("Create an activity"))
SetHtml can put something on the page, no matter how complex that something
is.
For example, you could replace Hi Greg with:
{
me
David,
Thanks for your on-going support! From the looks of your example, i'm
guessing that if i want to subsequently call some JavaScript to provide
visual feedback of the server-side behavior i do something more interesting
than the " js.JsCmds.Noop" in your code. However, i can't see exactly wha
On Thu, Feb 12, 2009 at 9:08 AM, Meredith Gregory
wrote:
> Lifted,
>
> Suppose i've got the following fragment of lift tags
>
>
>
>
>
>
> href="#" title="Add an activity" align="right">+ Create an activity
>
>
> ...
>
>
> and i want the onclick to call into a lift snippet inst