internet-explorer-10

Event fired when clearing text input on IE10 with clear icon

≡放荡痞女 提交于 2019-11-26 17:30:41
问题 On chrome, the "search" event is fired on search inputs when user clicks the clear button. Is there a way to capture the same event in javascript on Internet Explorer 10? 回答1: The only solution I finally found: // There are 2 events fired on input element when clicking on the clear button: // mousedown and mouseup. $("input").bind("mouseup", function(e){ var $input = $(this), oldValue = $input.val(); if (oldValue == "") return; // When this event is fired after clicking on the clear button //

IE10 - CSS animation not working

情到浓时终转凉″ 提交于 2019-11-26 17:25:23
问题 I have a scale animation that worked in IE10 for about a day and then stopped. I didn't make any changes and am not sure what would happen to break it. Does anyone have any ideas? When I look in the IE dev tools it's not picking up the animation name, but is picking up all the other properties. Here's the CSS: @-ms-keyframes move97 { 0% { transform:scale(1,1); -ms-transform:scale(1,1); -moz-transform:scale(1,1); -webkit-transform:scale(1,1); -o-transform:scale(1,1); } 50% { transform:scale(0

keep placeholder on focus in IE10

拥有回忆 提交于 2019-11-26 12:43:36
问题 Under WebKit and Firefox, the text in a input \'s placeholder sticks around on focus —it doesn\'t disappear until input.val actually has something in it. Is there a good way to force IE10 to do the same thing? 回答1: The :-ms-input-placeholder pseudo-class documentation from the Internet Explorer Developer Center seems to imply this is working as designed. The placeholder text is displayed with the specified style until the field has focus, meaning that the field can be typed into. When the

WebSocket on IE10 giving a SecurityError

こ雲淡風輕ζ 提交于 2019-11-26 10:57:14
问题 I am currently developing a website under IE10 (on Windows 8), using WebSockets in JavaScript. It runs fine under Firefox 18 and Chrome 25, but on IE10 I get a SecurityError when I establish the connection. What I am doing seems pretty straghtforward : websocket = new WebSocket(\'wss://hello.dev.mydomain.net\'); But IE doesn\'t like it : SCRIPT5022: SecurityError The script is on \"https://test.dev.mydomain.net\" (not the real address obviously). What bothers me is that if I just double-click

ReportViewer's Print Button Incompatible with IE 10?

我的梦境 提交于 2019-11-26 09:59:12
问题 I have been searching for the answer for this for 2 days. We have an application that uses ReportViewer 9. However, clicking on the print button in IE10 causes the browser to stop working (with the \"Debug\" or \"Close Program\" buttons). Everything else seems to work fine. We tried using ReportViewer 10 but we get the same issue. We are using Visual Studio 2010, Windows 7, IE 10, and targeting .NET 4.0. The crashes happen in the IDE and through IIS. EDIT: Things I Have Tried: I have tried

CSS3 - 3D Flip Animation - IE10 transform-origin: preserve-3d workaround

青春壹個敷衍的年華 提交于 2019-11-26 09:31:14
问题 After looking through IE10\'s developer blog I have found that they do not support the preserve-3d setting. They do offer a workaround, but I can not seem to get it working. My example below works in Safari, Chrome and Firefox but not IE10. If anyone could help me achieve this I would be very thankful. The boxes should rotate around the Y axis on click to show some text and a green background color. This is not the case in IE10 My example: http://codepen.io/2ne/pen/zEpge Part of code: HTML

Internet Explorer 9, 10 & 11 Event constructor doesn't work

折月煮酒 提交于 2019-11-26 09:19:37
问题 I am creating an event, so use the DOM Event constructor: new Event(\'change\'); This works fine in modern browsers, however in Internet Explorer 9, 10 & 11, it fails with: Object doesn\'t support this action How can I fix Internet Explorer (ideally via a polyfill)? If I can\'t, is there a workaround I can use? 回答1: There's an IE polyfill for the CustomEvent constructor at MDN. Adding CustomEvent to IE and using that instead works. (function () { if ( typeof window.CustomEvent === "function"

Is cross-origin postMessage broken in IE10?

让人想犯罪 __ 提交于 2019-11-26 08:58:27
问题 I\'m trying to make a trivial postMessage example work... in IE10 between windows/tabs (vs. iframes) across origins Remove any one of these conditions, and things work fine :-) But as far as I can tell, between-window postMessage only appears to work in IE10 when both windows share an origin. (Well, in fact -- and weirdly -- the behavior is slightly more permissive than that: two different origins that share a host seem to work, too). Is this a documented bug? Any workarounds or other advice?

internet explorer 10 - how to apply grayscale filter?

北战南征 提交于 2019-11-26 06:33:42
问题 This CSS code works pretty nice for Internet Explorer until 9. img.gray { filter: url(\"data:image/svg+xml;utf8,<svg xmlns=\\\'http://www.w3.org/2000/svg\\\'><filter id=\\\'grayscale\\\'><feColorMatrix type=\\\'matrix\\\' values=\\\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\\\'/></filter></svg>#grayscale\"); filter: gray; -webkit-filter: grayscale(1); } But what do I need to do for Internet Explorer 10 ? 回答1: IE10 does not support DX filters as IE9

Access denied in IE 10 and 11 when ajax target is localhost

与世无争的帅哥 提交于 2019-11-26 04:47:06
问题 I\'m trying to do a ajax call between a server (http) that is on internet. And target that to my own localhost. FF/Chrome/ ETC... works. It\'s ONLY an IE issue. IM USING IE 11 AND 10. The request is don\'t even done. The \"denied access\" is thrown instantly. This is the code. Just for you to see. Is not the classical HTTP/HTTPS error in IE8 AND IE9. This is something else, but the documentation is not helpful. $jq.ajax({ contentType: \'application/json\', url: url, dataType: \'json\',