I missed the first few lines I guess when pasting in the code - here it is...
I did re-submit it since I could not find a way to edit the original post or create a revision...
~Jeremy
function unloadJS(scriptName){ var head = document.getElementsByTagName('head').item(0); var js = document.getElementById(scriptName);
js.parentNode.removeChild(js); }
I was unable to find any documentation on that function.
I did re-submit it since I could not find a way to edit the original post or create a revision...
~Jeremy
function unloadJS(scriptName) {
var head = document.getElementsByTagName('head').item(0);
var js = document.getElementById(scriptName);
js.parentNode.removeChild(js);
}