- uninstall Notpad++
- Download and install "Microsoft Visual C++ 2008 Service Pack 1"
- Re-install Notepad++
Why do good people suffer?
1 year ago
- uninstall Notpad++
- Download and install "Microsoft Visual C++ 2008 Service Pack 1"
- Re-install Notepad++
'console' is undefinedError if you try to use it. I put the following at the top of a javascript file that is included in my web app and it kept IE from throwing script errors.
//If we are on IE8 or similar console won't be definedI crafted this solution from this page.
if (typeof console === 'undefined') { ////do an alert in IE. You could make it write to another window if that worked better
//console = { log: function () { alert(arguments[0]); } };
//just swallow the call in IE
console = { log: function () { } };
}