Forum Discussion

kkn27's avatar
New Member
2 years ago

Uncaught ReferenceError: ActiveXObject is not defined

function openURL(link) {

var shell = new ActiveXObject("WScript.Shell");"Chrome "+link);


// alert(link);

document.getElementById('openURL').style.visibility='hidden'; // hide URL link to prevent double entry // isDraw = true;



I got this ActiveXObject error when I try to use my website in Chrome and Edge. It's working well in Ie11 but not working well in Edge. May I know how can I fix it? 

No RepliesBe the first to reply