Thanks ced, I've used something like: JqId("new-comment") >>
JqAppend(<p>Posted By: {author}<br/>{text}</p>)
But AppendHtml is more eye pleasant :)On Mar 5, 11:04 am, ced <[email protected]> wrote: > There is an AppendHtml object in net.liftweb.http.js.jquery.JqJsCmds > that generates a JsCmd. > AppendHtml("my-element-id", <span>append me</span>) > Is this what you're looking for? > > On 5 Mrz., 09:57, Lukasz Kuczera <[email protected]> wrote: > > > > > Hi Folks, > > I've hard time to figure out how to append html snippet after ajaxForm > > is submitted. I know how to make it in jQuery but i would prefer to > > have it in one place. My code is:http://pastebin.com/wgAXd2ag > > > I would love to have AppendHtml(afterId: String, body: NodeSeq) > > method. -- 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.
