This code does what I think you want:
package com.liftcode.snippet
import _root_.scala.xml.{NodeSeq, Text}
import _root_.net.liftweb.util._
import _root_.net.liftweb.common._
import com.liftcode.lib._
import Helpers._
import _root_.net.liftweb.http._
import js._
import JsCmds._
import JE._
clas
Hello list,
Often in an AJAX handler I need to update something on the client side;
usually a UI control that initiated the handler. The only way I know to
handle this is to generate a DOM id in the snippet during a rendering
call (like a bind() call in a flatMap over a dataset), look for that