So you know how to add external scripts and styles, using the DOM, after the page is loaded. And what if you don't have external files, but have some style definitions and some JS code as text and you want it inserted and executed into a page. The DOM way "Ha! An easy one", you'd say and then go like: var ss = document.createElement('script'); var scr = 'alert("bah");'; var tt = document.createTex
