Could somebody please explain to me how this example from the book works. def myFunc(html:NodeSeq):NodeSeq = { bind("hello",html,"button" -> ajaxButton(Text("Press me"), { () => println("Got an Ajax call.") SetHtml("my-div", Text("That's it")) }) ) }
In particular, what do I pass in as the html parameter? What is 'hello'? How does the div work? I don't understand 'bind'. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---