FAQ Database Discussion Community


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:...

Launch Chrome browser from Internet Explorer

javascript,google-chrome,internet-explorer,hyperlink
We have a web application which has some features that works only in Chrome and I want to launch this web app using Google chrome browser with url of the web app as parameter from Internet explorer via a hyperlink. I tried file:///C:/Program%20Files%20(x86)/Google/Chrome/application/chrome.exe but it downloads the file + how...

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; } ...

How To Write Acceptance Tests for Internet Explorer with: Selenium, PHPUnit and Mac OS X?

osx,internet-explorer,selenium,phpunit,acceptance-testing
I'm trying to write acceptance tests for a project using multiple browsers. All the tests run fine with: Firefox, Chrome and Safari. However, I don't know how to run them in Internet Explorer. I use: PHPUnit, Selenium and Mac OS X. I also use VirtualBox with Windows 8 and Windows...

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();...

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...

Internet Explorer Jumpy Scrolling

javascript,jquery,internet-explorer,scroll
I have this code to keep a heading element at the top of another element that scrolls. It works perfectly in Firefox and Google Chrome however in IE it's excruciatingly jumpy. The code itself is very simple and I can't think how to potentially improve it. In Chrome and Firefox...

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:...

IE 11 issue with flexbox item with max-width

html,css,internet-explorer,internet-explorer-11
In IE11 when an item items don't properly center if they have maximum width property. This example however works in Chrome and FF. .container{ display: flex; justify-content: center; align-items: center; background-color: blue; width: 100%; } .box{ background-color: red; flex-grow: 1; display:flex; max-width: 200px; } http://jsbin.com/riloravopu/7/edit...

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...

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...

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...

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...

Javascript - Apply() breaking IE 9

javascript,jquery,internet-explorer,internet-explorer-9
I have this object: var _intervals = { intervals: {}, _add: function (fun, interval) { var newInterval = setInterval.apply( window, [fun, interval].concat([].slice.call(arguments, 2)) ); this.intervals[ newInterval ] = true; return newInterval; }, _delete: function (id) { return clearInterval(this.intervals[id]); }, _deleteAll: function () { var all = Object.keys(this.intervals), len = all.length;...

AJAX in Internet Explorer 11 - Don't cache

javascript,ajax,internet-explorer
I have an issue with AJAX in the IE 11. My page is asking sone values via AJAX form the server using this code: var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp = new...

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...

How to set the IEDriverServer.exe through command line in protractor

internet-explorer,selenium,selenium-webdriver,webdriver,protractor
I would like to set the IEDriver executable path via command line while using protractor. I am using the following command, but it is not considering path to the IEDriver executable. cd > protractor --seleniumArgs "['-Dwebdriver.ie.driver=../selenium/IEDriverServer.exe']" conf.js I am getting the error: var template = new Error(this.message); ^ UnknownError: The...

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...

Fancybox list of pictures not showing up in Internet Explorer

jquery,internet-explorer,fancybox
I am currently using fancybox for my image gallery. I am having serious difficulty with getting it to work well in Internet Explorer. Every other browser I have tried works - besides Internet Explorer. The Problem: Every time I reload the page, some of the pictures show, and others do...

website not working on Internet Explorer

internet-explorer,browser,cross-browser,hover
I have a vertical menu in a side bar with a hover over submenu however in IE the hover menu decides to appear in the middle of the page. I'm using IE11 so it doesnt support the IE only css. I'm not sure what has cause the problem..here is a...

Inconsistent display on IE & Firefox

html,css,internet-explorer,firefox,twitter-bootstrap-3
I'm using Bootstrap on my website project. I'm through with the design but the items are displayed out of place on IE & Firefox. The same page renders great on Chrome. I used developer tools on the three browsers to make sure there was no difference in the CSS properties....

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>...

Where does default USER PROFILE for the Internet Explorer lives and how do I access it from Selenium?

internet-explorer,selenium
Each time I run a test, I get a new instance of IE, which completely ignore all my settings. I solve the same problem in Firefox and Chrome by setting the option for those browsers to look for a specific user profile. FirefoxProfile profile = new FirefoxProfile(path/to/profile"); public static readonly...

Infragistics 12.2 WebDatePicker not displaying the Date in IE11

asp.net,internet-explorer,iis,infragistics
We are planning to upgrade the browser to IE 11. So was testing all the web application whether it is compatible with IE 11. One Asp.net 4.0 project uses Infragisitcs 12.2 and the WebDatePicker doesn't display the Date in IE 11 after hosting to IIS server 7.5. It was working...

IE 11 browser back button Detect

javascript,jquery,internet-explorer
How do I detect the browsers back button is clicked in IE 11 browser. In IE <10 browsers we can achieve this functionality using the following: (window.event.clientX < 40 && window.event.clientY < 0). Please share your thoughts....

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,...

Character rendering is different (IE/Chrome)

html,css,google-chrome,internet-explorer
I'm trying to figure out why does the arrow symbol render differently on Chrome and Internet Explorer but without any success. Surprisingly IE displays it correctly while Chrome has problems with rendering. Ignore the difference in size, it is due to zooming. Chrome IE Regarding CSS, there is only Eric...

JavaScript Date not working properly in IE8 [duplicate]

javascript,google-chrome,internet-explorer
This question already has an answer here: Javascript JSON Date parse in IE7/IE8 returns NaN 6 answers Chrome showing result as expected but IE-8 giving NAN when i execute the following: Chrome: d = new Date("2014 12 01") // results Mon Dec 01 2014 00:00:00 GMT+0500 (Pakistan Standard Time)...

How can I force IE to *not* use compatibility mode?

html5,internet-explorer,internet-explorer-10
I have looked through stackoverflow quite a bit and found that the following is the most recommended way to force non-compatibility mode: <meta http-equiv="X-UA-Compatible" content="IE=edge" > My issue with these answers is that they are all IE 8 & 9 era answers. Is this still the way to force to...

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