I have an app that must run in IE 7/8(compat). (I know, right?) The app includes the following functionality.... If I click on a dropdown list, the list checks
I'm trying to figure out what could be causing a problem in IE9 on a production machine. We have a <select> combo box with an inline change handler (I'm a
I want to cancel inline onclick event <p id="demo" onclick="alert(1234)"></p> in certain condition, so I am using a global onclick event to conditi
I am using ActiveXObject("Microsoft.XMLDOM"); to help loadan XML file that I have. I know that IE 11 now support DOMparser, but after reading this stack mover f
I am viewing PDF into iframe. It works fine. But some of the client don't able to see it in IE. They get it as download option. How can I identify if browser
Suppose I have a nested table like the following: <table id="search"> <tbody> <tr><td>a</td></tr> <tr><td&g
Basically, in IE11, when you try to print preview (or print, for that matter) this page (and a few others on this site), the page never renders in the preview p
As some old versions of IE didn't provide the event as argument to event listeners, we got used to (event||window.event). In order to decide whether it can sti
I have a github.com demo page that is linking to https://raw.github.com/.../master/.../file.js so that I don't need to always copy the .js file over to the gh-p
$('a').click(function(event){ if( event.ctrlKey || event.target.href){ return false; } }); Working fine in Firefox and Chrome, but not in IE. Plea
I have used below code - Its not working on IE9 but works fine on Firefox and Chrome $(document).ready(function(){ if (document.addEventListener) { // al
I'm reading a book called "Beginning JavaScript with DOM Scripting and Ajax" (2006) On Page 168/139 it offers some example code, a stopBubble function, which pr
Let's say I have the following code: var style = $("<style/>") .html("body{background:grey; color:white;} /*and more CSS style*/") .on("load", fun
At least IE9 and IE10 have strange behaviour. I have four input fields and subscribe on their change events. I have logic which disables first input field insid
In a mousedown event-handler of a div another new div is created and appended to the body. This new div has position:fixed (can also be position:absolute) and h
I try to attach an event on a input element, then I put this code on onload of body element: bornDate.attachEvent("onblur", validade(true)); But in onload, the
Is there a way to make this work in IE? It works in Chrome and Firefox. <html> <body> <div oncopy="alert('text copied')"> Copy me
I have a JavaScript function that contains a for loop that iterates so many times. After calling this function, the IE browser displays this message: Stop
I am trying to create a simple html page some dynamic buttons. This is what I did so far: <HTML> <BODY bgColor="#d4d4d4" onload="OnLoad()" > <
Have a regex: .*? (rule1|rule2) (?:(rule1|rule2)|[^}])* (It's designed to parse CSS files, and the 'rules' are generated by JS.) When I try this in IE, all