addEventListener not working in IE8

Try: if (_checkbox.addEventListener) { _checkbox.addEventListener(“click”, setCheckedValues, false); } else { _checkbox.attachEvent(“onclick”, setCheckedValues); } Update:: For Internet Explorer versions prior to IE9, attachEvent method should be used to register the specified listener to the EventTarget it is called on, for others addEventListener should be used.

How can I use console logging in Internet Explorer?

You can access IE8 script console by launching the “Developer Tools” (F12). Click the “Script” tab, then click “Console” on the right. From within your JavaScript code, you can do any of the following: <script type=”text/javascript”> console.log(‘some msg’); console.info(‘information’); console.warn(‘some warning’); console.error(‘some error’); console.assert(false, ‘YOU FAIL’); </script> Also, you can clear the Console by calling … Read more

Opacity of div’s background without affecting contained element in IE 8?

The opacity style affects the whole element and everything within it. The correct answer to this is to use an rgba background colour instead. The CSS is fairly simple: .myelement { background: rgba(200, 54, 54, 0.5); } …where the first three numbers are the red, green and blue values for your background colour, and the … Read more

IE8 support for CSS Media Query

css3-mediaqueries-js is probably what you are looking for: this script emulates media queries. However (from the script’s site) it “doesn’t work on @imported stylesheets (which you shouldn’t use anyway for performance reasons). Also won’t listen to the media attribute of the <link> and <style> elements”. In the same vein you have the simpler Respond.js, which … Read more

Override intranet compatibility mode IE8

It is possible to override the compatibility mode in intranet. For IIS, just add the below code to the web.config. Worked for me with IE9. <system.webServer> <httpProtocol> <customHeaders> <clear /> <add name=”X-UA-Compatible” value=”IE=edge” /> </customHeaders> </httpProtocol> </system.webServer> Equivalent for Apache: Header set X-UA-Compatible: IE=Edge And for nginx: add_header “X-UA-Compatible” “IE=Edge”; And for express.js: res.set(‘X-UA-Compatible’, ‘IE=Edge’)

IE8 issue with Twitter Bootstrap 3

You got your CSS from CDN (bootstrapcdn.com) respond.js only works for local files. So try your website on IE8 with a local copy of bootstrap.css. Or read: CDN/X-Domain Setup Note See also: https://github.com/scottjehl/Respond/pull/206 Update: Please read: http://getbootstrap.com/getting-started/#support In addition, Internet Explorer 8 requires the use of respond.js to enable media query support. See also: https://github.com/scottjehl/Respond … Read more

What do I need to do to get Internet Explorer 8 to accept a self signed certificate?

How to make IE8 trust a self-signed certificate in 20 irritating steps Browse to the site whose certificate you want to trust. When told “There is a problem with this website’s security certificate.”, choose “Continue to this website (not recommended).” Select Tools➞Internet Options. Select Security➞Trusted sites➞Sites. Confirm the URL matches, and click “Add” then “Close”. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)