Hafez Rouzati
Hafez Rouzati
Hafez Rouzati
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
External Scripts<br />
// inline (asynchronous but order not guaranteed)<br />
<br />
// adding async attribute allows us to use onload property (order<br />
not guaranteed)<br />
<br />
// create script element<br />
var script = document.createElement('script');<br />
script.type = 'text/javascript';<br />
script.src = url;<br />
script.onload = onloadHandler;<br />
document.body.appendChild(script);