Originally Posted by felgall
If you are going to add a script tag then put the code it is to contain in a separate file and attach that as the src attribute.
If you have the code actually in the script already then simply define it as a Function and then execute it. No need for eval.
that depends on the code, if globals/locals are being jump-started into life, then Function won't work, while eval will. adding a new external script intrinsically calls eval, so there's nothing wrong about using it do do the same thing without http traffic...
BROWSER STATS [% share]
(2013/10/31) IE7:0.5, IE8:8.6, IE9:5.3, IE10:12.3, FF:17.7, CH:41.8, SF:8.1, MOBILE:20.4