My problem is when I load a page into a div using jquery, the script tags don’t active the way I wish (although they do activate from what I can tell).
I’ve seen a few different ways (such as $.getScript();) to load a script. However, no matter what I try, I cannot get the effect to work the same way as if I actually placed the code there instead of loading it in.
As such, I guess my question is how I should set something up to have about the same effect loading it in as the code really being there (as in activating in the same order it would normally).
I doubt you are going to like my answer, because its EVIL! but this is the only way I know to do this.
The reason your script tags are not activating is there is no event to attach it to. The scripts therefore cannot activate themselves. So here is the easiest way to make them run: