FAQ Database Discussion Community


Parsing a JSON object of arrays gives different results in IE9

javascript,arrays,json,internet-explorer,highcharts
Intro I am working on creating a HighCharts graph from a DataTable table. What I do is iterate over the the rows and columns of the table, convert the strings (we use different thousand separators from the US) to numbers and save them into an object called item. the object...

Using getComputedStyle with IE 11

javascript,jquery,css,internet-explorer
NOTE: This has an update below. I will likely change description as it is not a getComputedStyle issue, it is an issue actually with print-media and the fact that Internet Explorer now supports document.styleSheets[].cssRules. I am a bit confused on this as I thought this worked and I am not...

htaccess rewrite condition not working in internet explorer

apache,.htaccess,internet-explorer
We have mutiple websites with the same code. The problem is this is working correctly in Firefox, Chrome etc, but it is not working in IE. My suggestion is that internet explorer sends a different/incorrect HTTP_HOST. But i can't figure out why. Can anybody help me in the right direction....

Triggering a change event for Internet Explorer

javascript,jquery,internet-explorer,event-handling
I have several select menus that needs that need to have their change events triggered on page load, so that they can automatically use the change behavior from an on('change', ...) handler. I have it working fine in Firefox, but apparently this doesn't work in Internet Explorer. Example var changeEvent...

How to consistently crash IE 10&11? Reproducing “Internet Explorer to close and reopen the tab”

javascript,html,css,internet-explorer
This is a stupid question. Is there a way to consistently produce this error in Internet Explorer 10&11 with Javascript, css or HTML? A problem with this webpage caused Internet Explorer to close and reopen the tab. This is not for malicious webpage, I need to test some plugin and...

How to close an Internet Explorer instance inside an Excel VBA

excel,vba,internet-explorer,excel-vba
I'm running an Excel VBA macro which opens a IE instance, extracts data from a URL and then is supposed to close the instance again. Dim IE As Object Set IE = CreateObject("InternetExplorer.Application") Set IE = GetObject("new:{D5E8041D-920F-45e9-B8FB-B1DEB82C6E5E}") ' Do stuff... ' Clean up IE.Quit Set IE = Nothing I looked...

No video with supported format and MIME type found

internet-explorer,firefox,video,html5-video
So i have this video element on my website <videogular vg-responsive="true" vg-theme="config.theme.url" vg-player-ready="onPlayerReady($API)" vg-complete="onCompleteVideo()" vg-theme="config.theme.url"> <vg-media vg-src="config.sources" vg-tracks="config.tracks" vg-native-controls="true"> </vg-media> IF i view this in chrome there is no problem and the video is displayed if however i view the same page in Firefox i get the following error: No...

How to avoid wrap in IE7 when I have two ul in a navigation?

html,css,css3,internet-explorer,internet-explorer-7
In ie8 or firefox browser,My code runs well,the two ul are in the same line.But when I ie7,the two ul are in the diffrent line,How to make then in the same line in ie7? <DIV id='navigation'> <ul><li><span> leftspan </span></li></ul> <ul style='float:right;'> <li><span> leftspan </span></li> <li><a href="http://www.google.com" target="_blank">google</a></li> <li><a href="http://www.apple.com" target="_blank">apple</a></li>...

How do I wrap text in a pre tag for Internet explorer?

html,css,internet-explorer,whitespace,word-wrap
I am using following code to wrap the <PRE> region in HTML: <PRE style = "white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"> It is working fine on chrome and Mozilla but the same is not working for IE. I am using IE9. Please tell me if any...

With jQuery, IE<9 fails appending bundle of elements with text node. Is this jQuery bug?

javascript,jquery,html,internet-explorer
With jQuery 1.11.3, I found elements are disordered in IE<9, when I append() a bundle of elements including text node. Is this jQuery bug, or mine? Test Code: <!DOCTYPE html> <html> <head> <title>jQuery test</title> <script src="http://code.jquery.com/jquery-1.11.3.js" charset="utf-8"></script> </head> <body> <div id="div"></div> <script> $('#div').append( $('<span/>', { css: { color: 'red' },...

Does ie read stylesheets outside of conditional comments?

html,internet-explorer,stylesheet,conditional-comments
I've been doing a bit of reading around this subject, and I can't seem to find an answer that specifically answers this question. Using this code as an example: <!--[if lte IE 7]> <link rel="stylesheet" type="text/css" href="ie-style.css" /> <![endif]--> <link rel="stylesheet" type="text/css" href="style.css" /> Would IE6 open and run it-style.css...

Internet Explorer hover/rgba/opacity/css3 compatibility

css3,internet-explorer,hover,internet-explorer-9,rgba
I am using CSS3 with an rgba alpha opacity hover to display text over an image when the user hovers. Works fine in chrome, firefox and safari but when trying in internet explorer (9) it just shows the image and hovering does nothing. Check out the code here: http://jsfiddle.net/b16pow50/ div...

Select picture failure at IE and Firefox

javascript,html,google-chrome,internet-explorer,firefox
Why when I modify $(document).mousemove and $(document).mousedown to $(".desktop").mousemove and $(".desktop").mousedown, it does not run as I expect in IE and firefox, but ok in Chrome. Javascript file using in the html file:http://pan.baidu.com/s/1sj9fpKh <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <!-- saved from url=(0033)http://demo.jq22.com/jquery-win7/ --> <!DOCTYPE html PUBLIC "-//W3C//DTD...

In IE, anchor text is overflowing/overlapping instead of wrapping, but not other text

html,css,internet-explorer,drupal-7
I am running into an annoying problem I have yet to solve. Before I get too far into this I will point out that I am doing this in Drupal 7 (so no need to comment about the excessive wrapper elements, I already know). The problem is that in all...

Internet Explorer misinterprets html tags

html,css,html5,internet-explorer
Internet Explorer misinterprets website: it reads <tag></tag>bla bla</tag><//tag> instead of <tag>bla bla</tag>. For instance the code of the nav section is: <nav> <ol> <li><form action="Algemene Voorwaarden Bijles Studio.pdf" method="get" target="_blank"> <button>algemene voorwaarden</button> </form> Bla Bla </li> </ol> </nav> But the inspect element function of IE shows the following: <nav></nav> <ol>...</ol>...

HTML/CSS menu not working on IE

html,css,internet-explorer
I'm working on a website and I was happy that all was looking good on Chrome, Firefox and Safari. Then it came it suddenly in my mind, I started sweating, the heart started beating fast.. oh God, I have to test it on IE! And, of course, it doesn't work...

SoundJS — sounds played via instances not working in IE

internet-explorer,createjs,soundjs
I've run into some inconsistent behaviour between browsers with SoundJS, namely that IE11 is stingy about playing from Abstract Sound Instances. The following code works in every other browser I've tested, but not in IE11: <html> <head> <script src="https://code.createjs.com/soundjs-0.6.1.min.js"></script> <script> var sounds = {} function loadSounds() { createjs.Sound.registerSound('audio/song.mp3', 'song', 1);...

jQuery & CSS only load after many refreshes

jquery,css,html5,internet-explorer,internet-explorer-11
If you open this page in IE11, the CSS and jQuery don't load: http://javasmart.gooberdev.com/ If you refresh the page once, maybe even twice, it still doesn't load. But if you hit F5 a bunch of times in succession, the CSS and jQuery finally load and the page displays correctly. This...

Style select::-ms-expand when disabled

html,css,css3,internet-explorer,css-selectors
How do I change the background colour of select::-ms-expand when it's disabled? select::-ms-expand{ background: #f60; } ...

Add special characters to HttpContext.Current.Response.AddHeader()

internet-explorer,c#-4.0,httpresponse
I want to generate PDF file with special characters. My code is as follows: MemoryStream memoryStream = // get memory stream relevant to pdf file HttpContext.Current.Response.Clear(); HttpContext.Current.Response.Buffer = true; HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.UTF32; HttpContext.Current.Response.AddHeader("Content-Disposition", string.Format("attachment;filename={0}.pdf", downloadLink)); HttpContext.Current.Response.ContentType = @"application/pdf";...

How to get the currentDate in Javascript for IE?

javascript,internet-explorer,date
I already did some reasearch and found out that you need to format a date String because the IE can't handle some formats. But the problem is that I don't even get a current date string to format. Date.now() or Date.time() I also tried this if-statement: if (!Date.now) { Date.now...

History token fires twice if the URLhas a special character in IE

java,internet-explorer,gwt
I have a code that is working perfectly fine in firefox and chrome, but not very well in IE. I am using GWT 2.5.1 . The issue is that i am sending a string to query via the URL. If that string contains special character like % or ^ or...

store Hebrew in database with utf- 8 encoding using php and mysql

html,mysql,internet-explorer,encoding,utf-8
I am building a web site with database in Hebrew (using php and mysql). on general I use chrome to test my job... today I tried explorer :-0 (yeh... you must be thinking "why the f*** would he do it... ;) ). I found out that all the data that...

“Object doesn't support this property or method” when setting an object property in IE8

javascript,internet-explorer,cross-browser
I'm trying to make draggable elements without using jQuery. I'd like it to be compatible with IE8. The following breaks at this.handle = { with the error, "Object doesn't support this property or method." Does IE9< have some goofy hang-up when it comes to setting object properties? var Draggable =...

Running selenium tests on Virtual box guest

eclipse,windows,internet-explorer,selenium,virtualbox
So i am trying to run Selenium tests written in Java through Eclipse on my guest machine. My host machine is Windows 7 and I am running Windows 7 guest machine. I have set 2 network adapter NAT and Host only. I am farily new to the whole Selenium testing...

How to properly finish Internet Explorer that's launched from Powershell?

internet-explorer,powershell,com
There was a set of recently asked questions about doing something with Internet Explorer via Powershell. All of them contain codes to launch IE from Powershell as an object, via $ie=new-object -comobject InternetExplorer.Application. The problem is, the proper way of closing IE that consists of calling $ie.quit() does not work...

Using angularJS click on enter form functionality in Internet Explorer

javascript,html,angularjs,internet-explorer,default
I have a form in angularJS like this: <form> <div class="row form-group"> <div class="col-xs-4"> <label>Product name:</label> </div> <div class="col-xs-8"> <input ng-model="vm.name" ng-disabled="vm.product.name"> </div> </div> <button ng-hide="1" ng-click="vm.addName()"></button> </form> The idea being that when a user enters a name the form locks it (inside addName()) and does an API call to...

Switching between windows

internet-explorer,autohotkey
Backgroud: Our Call Center have special "Main" program to work in it. When incoming call it is appear "small pop-up window". Also, we have browser-style CRM. All this is running on Windows 7. When incoming call, client page in IE is loading. So, Call Center worker, to see client page,...

VBA skipping code directly after submitting form in IE

vba,internet-explorer,excel-vba,web-scraping
Currently I have 2 pieces of code that work separately, but when used together they don't work properly. The first code asks the user to input information which is stored. It then navigates to the correct webpage where it uses the stored user input information to navigate via filling and...

Give HTML time to render its text

javascript,html,internet-explorer,vbscript,hta
I have a very long VBScript code which runs in an HTA. The script includes DOM manipulation, DLL calls, and other scrips. Now I had a problem because it takes a significant amount of time to render the text on screen because there are a lot of scripts that pause...

IE11 slow / freeze with AngularJS's ng-repeat rendering

javascript,angularjs,internet-explorer,browser
Currently I have a very sublte problem to solve with IE11 and AngularJS. My page consists of two nested ng-repeat to create a tabset with a table inside any tab. Here the code: http://pastebin.com/0fffPz5Z In the code, each application's object have around 1.000 item's related objects. With a Chrome, Safari...

How to change background-color of selected option in IE11?

html,css,internet-explorer
The below code gives background color of selected option as green (#7FFF00) in IE8 and IE9 but as black in IE11. So, how can i get the same background color in IE11 also. Is it possible to do so using CSS ? <!DOCTYPE html> <html> <head> <style> .car-select option[selected] {...

Phonegap developer app javascript Errors

javascript,cordova,internet-explorer,windows-phone
I trying to run my phonegap app with the "Phongap Developer app" on my windows phone, but it's throwing strange javascript errors, like this: Object doesn't supprt property or method "defineProperty" Object.defineProperty(Detail, "name", { get: function () { return this._name; }, set: function (value) { this._name = value; }, enumerable:...

Font Face issues in Internet Explorer 8

css,internet-explorer,fonts,internet-explorer-8,font-face
I created a test page for IE 8 to see if i could use Google fonts. You can find the code at the end of the question. I am including every Google font i need by using a element with a list of them. Now, depending on the HREF attribute...

Background-image style with JS not working in ie9

javascript,jquery,html,internet-explorer
I'm working on a site and im having some issues with my slider in IE9. What I've done is that I've made a div that gets the background image changed every few seconds depending on the img tags within. You can see it in function here: http://diakondk.quine.pil.dk/ It works wonders...

VBScript to detect Facebook IE window, press Like and close the window

facebook,internet-explorer,vbscript
I tryed to make a script to detect the IE window that is opened on Facebook and hit the Like button. Let's say I have 10 IE opened. Only one of them is on a page on Facebook. I want my script to detect that IE window, click this button:...

Modal not working in IE10, but works fine in other browsers

html,css,internet-explorer,internet-explorer-10
I am creating a modal dialog based on a CSS only approach from the online example below. It works great in IE 11, Chrome and Firefox, but in IE 9 and IE 10, the modal doesn't work. In IE 9 and IE 10, you can't click any of the content...

IFRAME won't display 100% height in IE8, but fine in IE11 and Firefox

html,css,internet-explorer,iframe,internet-explorer-8
I have a HTML page with an iframe in a div. The iframe height should be 100% of the available window height. This displays as expected in IE11 and Firefox, but in IE8 the iframe remains at a fixed size, regardless of the window size or the iframe content. When...

Strange JavaScript Object syntax

javascript,google-chrome,internet-explorer,javascript-objects
I recently came accross this in a Library called WebApp.net: var $h = { get HEAD() { return 0 }, get BACK() { return 1 }, get HOME() { return 2 }, get LEFT() { return 3 }, get RIGHT() { return 4 }, get TITLE() { return 5 }...

correct HTML pages won't load in IE10

javascript,jquery,html,internet-explorer,browser
I'm editing someone elses webpage for content, by changing the HTML files on the drive, adding text, comments, wtv. I'm not a web designer, so this is the only way I knew to do it. On most browsers, my changes show, but on internet explorer, sometimes it will revert to...

Java exception detected in safari but not detected in IE?

java,internet-explorer,nullpointerexception,safari
I have a java applet code that works fine when it's opened from IE, but if it's opened from Safari, Java console produces a nullpointerexception. The code that generate this behaviour is shown below: public class MsgBoxPanel extends JDialog { Panel panel1 = new Panel(); JLabel label1 = new JLabel();...

My input fields render inline on IE, but on new lines in Chrome and Firefox. How can I fix that?

html,css,google-chrome,internet-explorer,html-rendering
What do I need to change to make Chrome and Firefox render the same way as Internet Explorer? My first idea was to use CSS calc(), but I still need to support IE8. I have the following CSS: * { box-sizing: border-box; } .Width300 { width: 300px; padding: 5px; border:...

User Getting Logged out in IE when closing browser

internet-explorer,session,cookies,p3p
I am running a Drupal 7 site and am noticing a problem on IE9, when the browser window is closed the user is logged out. We have "remember me" module enabled and the cookie is set to not expire. There is no issue on Chrome or any other browser, you...

Check filesize before uploading to file system

javascript,asp.net,internet-explorer,file-upload,activex
Just a quick question, I have done a lot of research on this already but I have a different approach. My problem: I have a file uploader that works in all browsers using asp.net with VB. The issue is that our system only allows files to be uploaded that are...

XMLHttpRequest: Network Error 0x80070005, Access is denied on Microsoft Edge (but not IE)

javascript,ajax,internet-explorer,cors,microsoft-edge
I have a very simple ajax request (see below). The server is using CORS and works fine in IE 10+, Chrome, Firefox and Opera. On Microsoft Edge however, it fails with XMLHttpRequest: Network Error 0x80070005, Access is denied. I have researched the posts here, here, here and here, but cannot...

IE 10 Flexbox height bug?

html,css,internet-explorer,internet-explorer-10,flexbox
I am unable to figure out why IE10 adds extra margin's or height to the green element below. http://jsfiddle.net/q4ofmfar/ Expected style as displayed by most browsers: Incorrect style as rendered by IE10.0: http://jsfiddle.net/q4ofmfar/ HTML <div class="row"> <div id="box1"> <div> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris dapibus vehicula...

String replace with regex, ie strange results

javascript,regex,google-chrome,internet-explorer
Why i have this results? "hello world".replace(/[']/gi, "\\'"); // on chrome => "hello world" "hello world".replace(/[']/gi, "\\'"); // on ie => "hello world" "hello world".replace((/[']/gi).compile(), "\\'"); // on chrome => "hello world" "hello world".replace((/[']/gi).compile(), "\\'"); // on ie => "\'hello world" Chrome: 43.0.2357.124 m IE: 11.0.10011.0...

IE 7 and 8 Google Website Translator fails with Error: hasOwnProperty in element.js

internet-explorer,google-translate
We use the Google website translator dropdown on several web sites. A few days ago we noticed that initializing the dropdown shows JavaScript errors on IE 7 and IE 8. The exact source of the error is in line two of the code returned as http://translate.google.com/translate_a/element.js where it says a.hasOwnProperty(b[c])?...

Flexbox does not seem to work in IE

html,css,internet-explorer,flexbox
For a website, I am using some flexboxes. Those boxes work perfectly in all browsers, except in IE. I'm going to give you a simplified version of what I'm doing below: <div class="row-fluid vertical-align text"> <div class="col-xs-16 col-md-8 leftText"> Some textblock, which has a 10 lines </div> <div class="col-xs-16 col-md-8...

SSL certificate error 403.13 in IIS 7.5

internet-explorer,iis-7,ssl-certificate,sha1,http-status-code-403
I'm getting 403.13 in IIS logs, when I'm trying to access my api using the created certificate(sha1). Further I tested the same certificate in other test environment it works treat and I get the the XML from the api without any issue. Certificate pfx is installed in Certificate store and...

IE 11 Error message - Could not complete the operation due to error 800a025e

javascript,html,internet-explorer,exception,internet-explorer-11
I am getting the following error message in IE 11 : Could not complete the operation due to error 800a025e. This error is being thrown when range.select() is called function ExtendSelection() { var sel; if (document.body.createTextRange) { // Internet Explorer var range = document.body.createTextRange(); range.moveStart('character', 0); range.collapse(true); range.moveStart('character', 29); //causes...

Span display IE

html,css,css3,internet-explorer
I wrote this code, it's a link with transition .pictos { display: block; height: 70px; margin: 160px 0 30px; padding: 0 17%; width: 100%; } .pictos > div { background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2); border: 1px solid #fff; border-radius: 50%; display: table-row; float: left; height:...

What is the proper way to get the value of a React