internet-explorer-10

Why I have this error: Object doesn't support property or method 'forEach' for Internet Explorer?

别等时光非礼了梦想. 提交于 2019-12-01 14:10:35
问题 I am Working on Javascript on a jenkins plugin using maven and I have this code: function arrayElements(element, index, array) { var arrayPaths = element.split("\\"); var projectSource = arrayPaths[2]; var array = element.split("_"); if (projectSource === global ) { if (array[2]===filtro){ document.getElementById("source").options.add(new Option(arrayPaths[3], element)); } } } function fillCompiledSource(object, projects) { document.getElementById("source").innerHTML = ""; global = document

No possibility to select text inside <input> when parent is draggable

空扰寡人 提交于 2019-12-01 14:01:43
问题 This one is IE specific (not anymore, apparently). We have very simple code: <div draggable="true"> <p>Text</p> <input type="text"/> </div> On Chrome it works fine, you can select all text inside <input> , eg. double-click it or click-and-drag. On IE10 you cannot do both of these actions (not sure about IE in other versions). Any ideas? Fiddle: http://jsfiddle.net/s5g4gr8g/ 回答1: This was reported as a bug a few months back and is currently being considered for a future release. One of the

Is it possible to disable tooltips for links?

有些话、适合烂在心里 提交于 2019-12-01 12:15:44
I don't have any title or alt tags set on my links so IE10 uses the href content for tooltips when I hover or click and hold a link. I've been looking around but I can't find any solutions for overriding this functionality. Update: I've figured a solution for another problem I've had. When you touched and held, a weird square would pop up. To fix that I used this line of code. document.addEventListener("MSHoldVisual", function(e) { e.preventDefault(); }, false); I'm still trying to find a solution to disable the tooltip for touch actions. 来源: https://stackoverflow.com/questions/17790768/is-it

Dynamically submitting a file upload form in IE10 using jQuery

自闭症网瘾萝莉.ら 提交于 2019-12-01 09:29:01
I have a form whose only purpose is to upload files, but for user experience reasons, I need a nice-looking button that: loads the file dialog auto-submits the form when a file has been selected The original solution was something like this JSFiddle , where you have a link that loads the file dialog, then listens for the dialog's change event to auto-submit the form: $("input[type=file]").on("change", function () { // auto-submit form $("form").submit(); }); $("#my-nice-looking-button").on("click", function (e) { e.preventDefault(); // load file dialog $("input[type=file]").trigger("click"); }

IE10 Windows7 — Audio tag never plays audio?

蓝咒 提交于 2019-12-01 09:13:50
I'm having problems with the audio tag in IE10/Windows 7. I found this test page and wonderfully, IE cannot display ANY audio tag. The funny thing is when I save the file and test it locally, it works perfectly (image below) I checked the mime types on all of the files, and it appears that they're all correct: Next up was to check my media definitions in preferences: What the heck? Any ideas here? Jordan It must be a problem with that particular page. I can reproduce the error here on a test machine I have. (Server 2012) Edit - Just found this: HTML5 audio element do not work in IE10, but

Angular doesn’t support input type=”range” in IE10

三世轮回 提交于 2019-12-01 08:58:55
When the value of an HTML5 <input type=”range”> element is changed in Chrome or Safari, angular detects the change. But in IE10 (on Windows 8, Windows Server 2012 and Windows Phone 8) the change seems to be ignored in both Angular v1.0.6 and v1.1.4. Firefox 20.0.1 doesn’t support this input type. Try these two (third-party authored) fiddles to see what I mean: http://jsfiddle.net/fRgtF/ , http://jsfiddle.net/mrajcok/nBd86/ . I can imagine a couple of quick fixes but as I’ll be using this is in a B2B context the key factors are stability, reliability and ease of long-term maintenance. With that

WP8 IE10 viewport issue

强颜欢笑 提交于 2019-12-01 08:52:23
问题 Did any of you noticed that when using -ms-viewport (with specific width of 320px or device-width) then web browser content can be moved outside available space? It seems like document size is wrong so i can scroll it's content to the left but there is nothing then white empty space. I can also zoom it out(but i should not) and it's size after that is not always the same. I'm aware of http://mattstow.com/responsive-design-in-ie10-on-windows-phone-8.html but it does not help. It happens after

IE10 local page won't open CSS

青春壹個敷衍的年華 提交于 2019-12-01 08:37:41
Just installed IE10, and even with a "default reset," when I open a local page (like C:\Documents\index.html), it refuses to load a simple linked stylesheet, with a straightforward call like: <link href='common.css' type='text/css' rel='stylesheet'> The console error message is: SEC7113: CSS was ignored due to mime type mismatch I've hunted through the security settings, but nothing seems to change the behavior. Viewing the page from the web, there's no problem, of course. Anyone have a clue? (FWIW, I'm seeing exactly the same problem on a Win7/64 desktop machine and on an aging little Win7/32

IE10 Windows7 — Audio tag never plays audio?

谁都会走 提交于 2019-12-01 07:25:19
问题 I'm having problems with the audio tag in IE10/Windows 7. I found this test page and wonderfully, IE cannot display ANY audio tag. The funny thing is when I save the file and test it locally, it works perfectly (image below) I checked the mime types on all of the files, and it appears that they're all correct: Next up was to check my media definitions in preferences: What the heck? Any ideas here? 回答1: It must be a problem with that particular page. I can reproduce the error here on a test

IE10 local page won't open CSS

倾然丶 夕夏残阳落幕 提交于 2019-12-01 07:17:07
问题 Just installed IE10, and even with a "default reset," when I open a local page (like C:\Documents\index.html), it refuses to load a simple linked stylesheet, with a straightforward call like: <link href='common.css' type='text/css' rel='stylesheet'> The console error message is: SEC7113: CSS was ignored due to mime type mismatch I've hunted through the security settings, but nothing seems to change the behavior. Viewing the page from the web, there's no problem, of course. Anyone have a clue?