Does anybody know why jQuery removes script tags added to body ? The problem is if you want to insert dom elements after the own script tag you can't select the script node any more, because it was removed by jquery.
It is important by widgets because if I insert dynamically a script tag and the widget is using document.write - the whole document will be overwritten. So I want to insert widget html code after original script tag by using insertAfter instead of document.write. Of course I could also isert any div and then access it to insert the widget code, it is just not so pretty. I think jquerys domManip method shouldn't remove original script tag, or it should be possible to add parameter to avoid this. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---