browserstate / ajaxify

Ajaxify your entire website instantly with this simple drop-in script using the HTML5 History API with History.js and jQuery ScrollTo.
601 stars 94 forks source link

Fixing issues for inline-javascript injection for IE #13

Closed weaintplastic closed 3 years ago

weaintplastic commented 11 years ago

concerning this post on stackoverflow and my own experience it is more save to use "scriptNode.text" instead of "scriptNode.appendChild" when injecting inline javascript.

http://stackoverflow.com/questions/7090198/using-appendchild-with-ie-in-javascript