append(), appendTo() and script evaluation
Hello,
I'm retrieving content using Ajax and then I insert it inside the DOM. But there is one very strange thing:
If I add the new nodes with append(), the script nodes are executed.
If I add the new nodes with appendTo(), the script nodes are NOT executed.
Is it an intended behaviour or is it a bug? It's doesn't look documented.
Thanks for your anwsers,
Sincerely,
Savageman.