[Lift] Re: Additions to JqJsCmds

2009-01-21 Thread Viktor Klang
replaceWith works well with but can sometimes choke on if the 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 without the p

[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 ex

[Lift] Re: Additions to JqJsCmds

2009-01-21 Thread Viktor Klang
Greetings Joachim! My experience with replaceWith has been troublesome at best. IE6 (and in some cases IE7) crashes when trying to replace certain elements. I was able to work around it by only replacing the contents of ceertain elements. (TR, TABLE, THEAD etc cause intermittent IE6 crashes when