[Lift] Re: Additions to JqJsCmds

2009-01-21 Thread Joachim A.
Viktor, thanks for your note about IE6 and 7 so I'll avoid replacing tables, etc. Without IE the IT world would be better place ;) Did ReplaceWith work well for things like div and span? (I just noticed net.liftweb.http.js.jquery.JqJE.JqRemove, so Remove is already available.) Joachim My

[Lift] Re: Additions to JqJsCmds

2009-01-21 Thread Viktor Klang
replaceWith works well with div but can sometimes choke on span if the span is not closed correctly. My solution was: Send the attributes you want for the specified element, then alongside of it, include what contents you'd like that element to have. (This gives the effects of replaceWith, but