The async attribute , is a more recent feature of HTML5,
which indicates that the downloaded file won’t call document.write and can be downloaded as the page is being processed
But I've heard that there’s another way to load scripts asynchronously that’s backward compatible with older browsers.
It turns out that I can re-create the behavior achieved by the async attribute by dynamically
creating a script DOM element in JavaScript and appending it to the page.
Example :
var script = document.createElement('script');
script.src = 'http://camerastork.com/widget.js?product=1234';
script.async = true
...
So if it's for old browsers , which don't support async-- how can it be - that I can still use .async property ?
scriptto something (e.g.,document.getElementsByTagName('script')[0].parentNode.appendChild(script);