Jquery's Multiple Selector not working in IE -
I have developed this code to create the same height of the divs similar to a specific div but it does not work below IE9 and Has been doing . I do not know this mistake what I'm doing ...
Demo: -
JS: -
$ (window). Load (function () (var getWrapHeight = $ ('# wrap'). Height (); console.log (getWrapHeight); $ (".a1, .a2, .a3, .a4"). CSS ({"height ": GetWrapHyight,}};});
console.log < / Code> actually throws a javascript error in IE because it does not exist If you had the setting turned on "display a notification about each script error" in IE, You will receive (this is what I found, I have turned it on):
Demo: Error: 'console' P> If you really want to keep that log, you can change it with: if (window.console) {console.log ( GetWrapHeight);}
Comments
Post a Comment