[jQuery] .append() losing my script tag?

[jQuery] .append() losing my script tag?


Hello,
I am appending an element to the DOM that has a lot of children. There
is a script include, some css styles and a bunch of divs. When the
element is appended, the script include vanishes. I can still access
the functions in the script, but it no longer exists within the
element or even anywhere on the page. I even gave the script an id and
could not alert its type. Alerting the html of the element the line
before appending it shows that the script exists. Alerting the line
after appending it shows that it has disappeared. I've been at this
for hours with a coworker and finally searched it down to the jQuery
append. Anybody have ideas? I'm using 1.2.6.