FAQ Database Discussion Community


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

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

Fixed position misbehaviour in IE11

css,internet-explorer,css-position,css-transitions,internet-explorer-11
I am experiencing elements position misbehaviour into my page, in IE(11) only; live link here. The logotext, the menu and the left sidebar text, remain in place doesn't move with the wrapper when the left slider is open (clicking on info+ button). I've read about position: fixed + transition in...

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

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

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

table width not adaptive in IE

html,css,internet-explorer
table not displaying full-width in IE Explorer. How to make the table's width not depend on the column width, e.g., 100px*3, but depend on the window width? CSS Code: table { border-collapse: collapse; border-spacing: 0; background-color: transparent; width: 100%; table-layout: fixed; } HTML Code: <table class="table table-hover table-bordered"> <thead> <tr>...

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

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

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

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

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

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

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])?...

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

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