Adi – 11-24 Jun 10
I am loading JS file which is internally generating CSS/HTML content and appending it in body & head tag. Now is it possible to add event listeners for html elements or do I need to create another script tag and wait for previous script to load? Can I have html elements and event listeners both in same JS file?
check this https://jsfiddle.net/y19x6re4/
check this https://jsfiddle.net/y19x6re4/
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
