[jQuery] Re: Taconite - remove surrogate div

2008-11-12 Thread Bob Schellink
In case someone runs into the same issue, I've attached a patch to remove the temporary div. In short this snippet moves the content after the div and then removes the div. Not sure if this will have nasty side effects though. regards bob Index: jquery.taconite.js --- jquery.taconite.js

[jQuery] Re: Taconite - remove surrogate div

2008-11-10 Thread Mike Alsup
In order to do this taconite places the CDATA content inside a div element. However after the command is executed the div is left in the DOM. So after a bit of back and forth between browser and server we end up with a large hierarchy of divs. Hi Bob, Could you test this function to see if

[jQuery] Re: Taconite - remove surrogate div

2008-11-10 Thread Bob Schellink
Hi Mike, Thanks for your feedback. Your solution does work in the scenario I described where only one link is used. However it is possible to return multiple elements for example: taconite append a href=...hello/a a href=...hi/a /append /taconite To provide some context, I am