SetHtml(id: String, stuff: NodeSeq) It's a JsCmd and it replaces the contents of the Elem with the give id on the page with stuff.
Is this what you were looking for? On Sun, Jan 11, 2009 at 2:58 PM, Charles F. Munat <[email protected]> wrote: > > Is there a JsCmd for replacing a NodeSeq? I want an AJAX button to run > some code on the server, generate a NodeSeq, and then replace the > similar NodeSeq on the page. I'm looking through the commands and I > don't see how to do that, except to use Run and then JQuery... > > Am I missing something? This seems like a common scenario, so I'm > thinking it's probably in there. > > Thanks, > Chas. > > > > -- Lift, the simply functional web framework http://liftweb.net Collaborative Task Management http://much4.us Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
