Skip to content
Advertisement

Tag: internet-explorer

Internet Explorer 11 detection

I know IE 11 has different user agent string than all other IE I have tried to detect IE 11 with answer specified for this question’ Jquery fail to detect IE 11 Thats !!navigator.userAgent.match(/Trident/7./) But I am getting error Object not found and needs to be re-evaluated. Then I openede developer console in IE11 and tried to access some predefined

Javascript Named Function Expressions in Internet Explorer

Why does the following code not work in Internet Explorer (I’ve only tested in IE8 so far): If I change foo’s assignment to the following, the code works just fine: I imagine it’s something to do with named functions in IE’s Javascript engine. The code works fine in Chrome and Firefox. Any ideas? Answer IE has a lot of problems

Table Row’s OnClick Event is Propagated to all Contained Elements?

I’ve run into some interesting code in our legacy application running under Internet Explorer. Consider the following: So, here’s where I’m stumped. When the user selects an item from the SELECT element, the ONCLICK event is firing, and the following are true: this evaluates to Window Window.event.srcElement evaluates to an array of ‘OPTION’ elements There doesn’t seem to be a

why can’t i set window.onload in IE8?

I have the following function, which works fine in Firefox, but will do nothing in IE8 I want to open a webpage and immediately open the print dialogue. Answer If you have the hand on the page at url, place the call there. In the HTML, at the end of the BODY tag. Add a SCRIPT tag with your call

Changing the type in IE with JavaScript

This code below works in all web browsers except IE: How can I fix it for IE? I did some changes, but it still has an error. I want it to work like this like here: if I don’t enter anything it will put the value back. So I tried this: as you can see the blur does not work.

Advertisement