When I try to add the following IE script in IE, I get this error:
"Error: could not get the value of the appendChild property: the object is null or undefined"
It works fine in Chrome, but when testing on IE9 this happens. Can someone tell me what a mistake is?
// create script in document var fbScript = document.createElement("script"); fbScript.type = "text/javascript"; // make script source the facebook plugin fbScript.src = "http://connect.facebook.net/en_US/all.js#xfbml=1"; // append script to appropriate tab document.getElementById('Tab' + tab_counter).appendChild(fbScript);
javascript dom internet-explorer facebook blogger
user784756 Aug 24 2018-11-11T00: 00Z
source share