Re: [Lift] Re: Replace HTML element after AJAX call

2010-01-18 Thread Alex Boisvert
Yes, using a div or span is recommended so you can replace multiple times. Alex On Jan 18, 2010 9:21 AM, greekscala hellectro...@gmail.com wrote: Hello, I looked at the source and there is JsCmds.Replace which replaces a Node with another. I am always using div as containers for

[Lift] Re: Replace HTML element after AJAX call

2010-01-18 Thread ced
Sorry, but I can't find it. Which version of Lift do you use? I'm using version 1.0. In the scaladoc I can't find it either. On 18 Jan., 18:21, greekscala hellectro...@gmail.com wrote: Hello, I looked at the source and there is JsCmds.Replace which replaces a Node with another. I am always

[Lift] Re: Replace HTML element after AJAX call

2010-01-18 Thread greekscala
Hello, the Replace JsCmd is not present in 1.0. workaround wrap it with an div. best regards On 18 Jan., 18:39, ced docpom...@googlemail.com wrote: Sorry, but I can't find it. Which version of Lift do you use? I'm using version 1.0. In the scaladoc I can't find it either. On 18 Jan.,

[Lift] Re: Replace HTML element after AJAX call

2010-01-18 Thread ced
Found it in the repository. Thanks! On 18 Jan., 18:46, greekscala hellectro...@gmail.com wrote: Hello, the Replace JsCmd is not present in 1.0. workaround wrap it with an div. best regards On 18 Jan., 18:39, ced docpom...@googlemail.com wrote: Sorry, but I can't find it. Which