Error:
uncaught typeerror: cannot read property ‘MSIE’ of undefined
reason:
$. Browser method has been removed in jQuery 1.9
write a $. Browser code by yourself (recommended)
write it in the script after jQuery reference
jQuery.browser = {};
(function () {
jQuery.browser.msie = false;
jQuery.browser.version = 0;
if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
jQuery.browser.msie = true;
jQuery.browser.version = RegExp.$1;
}
})();
Read More:
- Datatable plug-in error: uncaught typeerror: cannot read property ‘style’ of undefined
- TypeError: Cannot read property ‘username‘ of undefined
- Vue: cannot read property ‘substring’ of undefined“
- Uncaught domexception: failed to read the ‘contentdocument’ property from ‘htmliframeelement’
- Cannot read property ‘properties’ of undefined
- JS prompt cannot read property ‘style’ of undefined
- TypeError: Cannot read property thisCompilation of undefined
- [_ Note] Vue.js reported an error: Cannot read property’validate’ of undefined”
- Vue error resolution: TypeError: Cannot read property’_t’ of undefined”
- Vue error resolution: typeerror: cannot read property ‘_ t’ of undefined”
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined
- Error in created hook: “typeerror: cannot read property ‘cm’ of undefined”
- Error in mounted hook: “TypeError: Cannot read property ‘init‘ of undefined“
- uncaught typeerror:cannt set property ‘0‘ of undefined
- Error reported by wechat applet: cannot read property ‘forceupdate’ of undefined
- Vue uses this. $refs. Subcomponent Ref. method to report an error: cannot read property ‘resetfields’ of undefined problem
- Applet component properties error cannot read property ‘name’ of undefined
- Cannot read property ‘this compilation’ of undefined appears in copy webpack plugin
- Uncaught TypeError: Cannot read property ‘replace’ of null
- Cannot read property ‘catch‘ of undefined“