FAQ Database Discussion Community


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

jquery validation IE Object doesn't support property

jquery,internet-explorer,jquery-validate
I am using the jQuery validation plugin. If i try to set custom field to highlight it shows an error only in IE (tested on IE11 and IE10). Console error is Object doesn't support property or method 'closest' and points to the line in "highlight" part. The code is: $(document).ready(...

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

Can I disable IE compatibility mode only for content within a ?

internet-explorer,frameset,ie-compatibility-mode,html-frames
Ive developed a Web Application that runs in my company's intranet. I had an issue with Internet Explorer's automatic compatibility mode earlier in my process, and added code to force my pages to be displayed in the newest version of IE: <meta http-equiv="X-UA-Compatible" content="IE=edge" /> This worked perfectly. Until my...

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

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

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

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

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

Developers tool(F12) is opening in Internet Explorer when it is launched by watir-webdriver

internet-explorer,selenium,selenium-webdriver,watir-webdriver,developer-tools
I am automating a web application on Internet Explorer using Watir-webdriver and ruby. When I run my script in my Laptop[Win7(x64) and IE11] it is running without opening Developers Tool in Internet explorer. But When I test the same script in Virtual Machine[Win8(x64) and IE10], Intenet Exploerer browser opening with...

Why does IE show junk for my dasBlog blog?

internet-explorer,dasblog
If I look at my blog in Chrome or Firefox, it looks as I expect. However, if I try to look at it in IE (11.0.9600.17801) it asks me if I want to download W69NUE8S (or some other random file name), which looks like some binary file. http://dotnetwhatnot.pixata.co.uk/ I tried...

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

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

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

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

How to implement IF statement in Protractorjs Spec.js file?

javascript,internet-explorer,selenium,selenium-webdriver,protractor
I am trying to run spec.js file for multiple browsers i.e., using Multicapabilities in conf.js. But I want one statement of code to be executed only for IE and I am trying to put that in IF statement by taking the title of the browser as the condition in IF....

Remove mysterious space that IE9 creates around

html,css,internet-explorer,internet-explorer-9
I'm trying to learn how to make crossbrowser pages and stuck at dealing with IE9: it creates some space near the <img>, see example Look at the rightmost image, it should appear here. If space doesnt appear, hover the mouse over the image. Can't imagine what's wrong, this image is...

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

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

Styling Text Elements in Internet Explorer 8

css,internet-explorer,internet-explorer-8
.title { font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-weight: 800; color: #1e1e1e; font-size: 24pt; } https://jsfiddle.net/pa3ztdwt/ The above fiddle works fine in Google Chrome, but does not work in Internet Explorer 8. It seems that the font-weight property is not rendering properly in Internet Explorer 8. Do we have any...

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

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

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

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

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

Check if code is compatible with IE 5

javascript,html,internet-explorer
I have to make a website that is compatible with IE 5+, It has to work with IE5+ because the device im working with uses Windows CE 5 or 6 and i cannot update the IE to a more recent version. I've made a javascript code with a couple of...

Link with negative z-index not clickable in IE

html,css,internet-explorer,z-index
Can anyone give me a hint why the link in the gray box is not clickable in Internet Explorer (I'm using version 11). http://jsfiddle.net/rk7n7xjj/1/ I tested it in any other browsers and it works fine. HTML <div class="gray"><a href="#bla">This link is not clickable in IE</a></div> <div class="yellow">Some placeholder text</div> CSS...

How do I prevent jquery from reloading an animation in IE mouse hover?

jquery,internet-explorer,internet-explorer-9
I have an animation that plays on mouse over on a containing div. In IE9+ if the user hovers over an element inside that container it replays the animation. My basic setup is: <div class="book"> <img src="bookcover.jpg" /> <div class="overloay"> <p class="title">Book title</p> <a href="#">read book</a> </div> </div> When the...

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

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

OverCls is not working in IE11

javascript,css,internet-explorer,extjs
I am working with extjs 4.2 and need an advice to solve this small bug. I have an extjs button in my js file as: { xtype : 'button', text : 'Add Drive', padding : '10px 10px 10px 10px', overCls : 'overDrive' } and my in my css i have...

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

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

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

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

“linear-gradient” not working in IE9 and Safari

html,css,css3,internet-explorer,safari
I try to apply a style to a button but this style displays well on Mozilla and Chrome then it is not the case for Safari and IE9. Here is the css class: #bt_D{ width:130px; height:30px; box-shadow:1px 2px 4px rgba(0,0,0,0.60); font-size:12px; background-image:linear-gradient(60deg, rgb(231,110,49), rgb(231,171,49)); border:1px solid rgb(180,180,180); border-radius:5px; float:right; text-align:center;...

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

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

File upload using input type=file not working in IE for first file, works on subsequent uploads

javascript,jquery,html5,internet-explorer,upload
Upload functionality works perfectly fine in Chrome, however it doesn't work on IE 11. I'm trying to implement upload functionality by using the following dom element: <input type="file" id="file-upload" class="hidden-inputs"/> I'm triggering the click when the user clicks something else, the input itself is hidden. This is the code for...

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

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

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

IE Input type Date not appearing as Date Picker

internet-explorer,date,datepicker
I am using the input type DATE in my HTML and everything works fine in Chrome and Firefox, but IE does not show the date picker. When I use the JQuery Datepicker I get two date picker dialogs in Chrome and Firefox. How can I fix this where I can...

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

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

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

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

Why the footer doesn't appear on IE10 and IE9?

javascript,jquery,html,css,internet-explorer
My page works fine on IE11 and on Google Chrome, but when I try to open it using IE10 and IE9, It doesn't appear, it looks like it has been cut, and the scrolling bar doesn't appear as well, If someone can tell me what I'm doing wrong, I'd be...

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

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

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