function loadScript(url, callback)
{
    // Adding the script tag to the head as suggested before
    var head = document.getElementsByTagName('head')[0];
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = url;

    // Then bind the event to the callback function.
    // There are several events for cross browser compatibility.
    script.onreadystatechange = callback;
    script.onload = callback;

    // Fire the loading
    head.appendChild(script);
}
/* Copy and paste the contents of this file into the wordpress cornerstone
custom </> js section */
Copy and paste the contents of this file into the wordpress cornerstone
custom  js section
Copy and paste the contents of this file into the wordpress cornerstone custom js section
function loadScript(url, callback)
{
    var head = document.getElementsByTagName('head')[0];
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = url;
    script.onreadystatechange = callback;
    script.onload = callback;
    head.appendChild(script);
}
function loadScript ( url , callback ) { var head = document . getElementsByTagName ( 'head' ) [ 0 ] ; var script = document . createElement ( 'script' ) ; script . type = 'text/javascript' ; script . src = url ; script . onreadystatechange = callback ; script . onload = callback ; head . appendChild ( script ) ; }
Copy and paste the contents of this file into the wordpress cornerstone
custom </> js section
Copy and paste the contents of this file into the wordpress cornerstone custom < / > js section
// Adding the script tag to the head as suggested before // Then bind the event to the callback function. // There are several events for cross browser compatibility. // Fire the loading