Quantcast
Viewing all articles
Browse latest Browse all 130

Multiple External Javascript functions for all your external JS files

This function comes in handy when wanting to load more than one Javascript file within the OnLoad event of the CRM Form.

{codecitation style="brush: JavaScript;"}function inc(filename)
{
var body = document.getElementsByTagName('body').item(0);
script = document.createElement('script');
script.src = filename;
script.type = 'text/javascript';
body.appendChild(script)
}

{/codecitation}


Viewing all articles
Browse latest Browse all 130

Trending Articles