[Lift] Re: Replace HTML element after AJAX call

2010-01-18 Thread greekscala
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 replacement best regards On 18 Jan., 17:41, ced wrote: > Hello, > I'm wondering if there is a way to replace an HTML element after an > AJAX call? I've found

[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 wrote: > Hello, > > I looked at the source and there is JsCmds.Replace which replaces a > Node with another. > I am always using div as conta

[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 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., 18:21, greekscala wrote:

[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 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 wrote: > > > > > Sorry, but I can't find it. Which version of Lift do you use? I'm > > usi

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" 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 replacement best regards On 1