multichild
Programmer
I have an error in my JScript, which I have found, but dont know how to fix.
Here is the error:
'scagain' is null or not an object
Here is the code:
var strbrw=navigator.userAgent.toLowerCase();if(strbrw.indexOf("msie") > -1 && strbrw.indexOf("mac")<0){var flashnagain;scagain=document.getElementById("flashnobj");scagain.outerHTML = scagain.outerHTML;}function unflashn(){if (strbrw.indexOf("msie") > -1 && strbrw.indexOf("mac") < 0){if (document.getElementsByTagName){var flashnobjs = document.getElementsByTagName("OBJECT");for (i=0; i<flashnobjs.length; i++){flashnobjs.outerHTML = "";}}}}window.onunload=unflashn;
Can anybody help
lee
Accend Web Solutions
Here is the error:
'scagain' is null or not an object
Here is the code:
var strbrw=navigator.userAgent.toLowerCase();if(strbrw.indexOf("msie") > -1 && strbrw.indexOf("mac")<0){var flashnagain;scagain=document.getElementById("flashnobj");scagain.outerHTML = scagain.outerHTML;}function unflashn(){if (strbrw.indexOf("msie") > -1 && strbrw.indexOf("mac") < 0){if (document.getElementsByTagName){var flashnobjs = document.getElementsByTagName("OBJECT");for (i=0; i<flashnobjs.length; i++){flashnobjs.outerHTML = "";}}}}window.onunload=unflashn;
Can anybody help
lee
Accend Web Solutions