internet-explorer-11

IE 11 document.selection does not work [closed]

空扰寡人 提交于 2019-11-29 08:57:32
I am trying to deselect selected content in HTML editor. I have used selection.empty() function for deselecting content it is working fine up to IE10 but it is not working in IE11. Also the create function is not working in IE11 Is there any alternative function for this? IE11 replaced the legacy API with a more standards-compliant API. selection is no longer supported. Starting with Internet Explorer 11, use getSelection . See Compatibility changes in IE11 . An HTMLSelection object is now returned, which is different to the old selection object and it doesn't look like empty is a valid method

How to get mshtml.IHTMLDocument6 or mshtml.IHTMLDocument7?

∥☆過路亽.° 提交于 2019-11-29 08:46:47
I am using IE11 in Windows 7. Then I added a reference in C# project c:\Windows\System32\mshtml.tld and try to get mshtml.IHTMLDocument6 or mshtml.IHTMLDocument7, but VS2013 doesn't see it. I can only get mshtml.IHTMLDocument, mshtml.IHTMLDocument2 .. mshtml.IHTMLDocument5. IHTMLDocument7 interface https://msdn.microsoft.com/ru-ru/library/windows/hardware/ff975572 Select the MSHTML assembly reference, look at its Path property and you'll see the problem: C:\WINDOWS\assembly\GAC\Microsoft.mshtml\7.0.3300.0__b03f5f7f11d50a3a\Microsoft.mshtml.dll This is the PIA for the mshtml type library,

ES6 spread syntax IE not supported

戏子无情 提交于 2019-11-29 08:38:15
I have a javascript code that is given below that is ES6 compatible however IE 11 does not support this. What would be the replacement code for this such that it works across all browsers? [...document.querySelectorAll('.row')] Im using this for 'click' event handling: Array.prototype.slice.call(document.querySelectorAll('.row')) .forEach(function(header) { return header.addEventListener('click', function(e) { headerClick(e, header, header.querySelector('.exy')) }); }); T.J. Crowder For all browsers, you can use Array.prototype.slice via call or apply (it works on any array-like object): Array

Is there a way to create a named pipe from an AppContainer BHO on IE11?

佐手、 提交于 2019-11-29 07:21:09
I'm trying to write a BHO for Internet Explorer 11 (Windows 8.1). My BHO implements the AppContainer sandbox, but I can't seem to create a Named Pipe, CreateNamedPipe fails with that message: Access is denied. Here's the code I'm using to create the named pipe (which I found on a russian website , last comment: LPCWSTR LOW_INTEGRITY_SDDL_SACL_W = L"S:(ML;;NW;;;LW)D:(A;;0x120083;;;WD)(A;;0x120083;;;AC)"; PSECURITY_DESCRIPTOR pSD = NULL; ConvertStringSecurityDescriptorToSecurityDescriptorW ( LOW_INTEGRITY_SDDL_SACL_W, SDDL_REVISION_1, &pSD, NULL ); if ( pSD != NULL) { SECURITY_ATTRIBUTES

align-items, align-self not working on IE11

ぃ、小莉子 提交于 2019-11-29 06:43:06
I have a simple plunker here. .container { display:flex; flex-flow: row nowrap; justify-content: space-between; align-items: center; min-height: 4em; } .nav { flex: 0 0 4em; height: 1em; } .logo { flex: 1 0 auto; align-self: stretch; } This is working how I want it to in Chrome 49: But not in IE11: I have checked that IE isn't in compatability mode - it's not - it's in IE11 mode. What's going on here? Michael_B This is a bug in IE11. The min-height property on a flex container isn't recognized by flex items in IE11. If you switch to height: 4em , you'll see that your layout works. A simple

Media Queries not working in Internet Explorer 11 [duplicate]

白昼怎懂夜的黑 提交于 2019-11-29 06:42:12
This question already has an answer here: Nesting @media rules in CSS 1 answer Hi guys I am currently creating my portfolio website in WordPress at www.yewtreeweb.co.uk . However I am having a problem with getting media queries to work in Internet Explorer 11. When I add the media queries the style does not display in the inspect element console of Internet Explorer however BootStrap's media queries do appear. Is it something to do with WordPress or am I doing something wrong? Also my styling does work if out of the media query. @media screen and (min-width: 1024px){ @media screen and (min

IE11 is crashing when clearing a form with 5 or more fields using JQuery $(…).val(“”)

对着背影说爱祢 提交于 2019-11-29 06:16:46
问题 If I'm clearing a form with 5 or more fields in IE11 using $('form input').val("") IE11 will crash. HTML: <form> <label>1</label><input type="text"/> <label>2</label><input type="text"/> <label>3</label><input type="text"/> <label>4</label><input type="text"/> <label>5</label><input type="text"/> </form> JS: $(document).ready(function(){ $('#clearFormNormal').click(function(){ $("form input").val(""); }); }); When I'm doing this recursive and with a setTimeout it works. JS: function

IE 11: Image doesn't scale down correctly within flexbox

做~自己de王妃 提交于 2019-11-29 06:13:46
问题 I'm trying to use flexbox to place two images in a column. In this case, the width of the div container is smaller than the width of the image. In Chrome the image perfectly fits into the div container, but it doesn't in IE, and I don't know why. div.outer { width: 400px; display: flex; flex-direction: column; justify-content: space-around; } div.inner { width: 100%; border: 1px solid red; } img { width: 100%; height: auto; } <div class="outer"> <div class="inner"> <img src="http://placehold

IE11 does not send session cookie when a link targeting a new tab is clicked (on first request)

笑着哭i 提交于 2019-11-29 05:54:03
I am having some trouble holding onto session when opening an initial new tab (target _blank) from IE11. When I close all instances of IE11 and then open a fresh browser and navigate to the test webpage (default.aspx) the page stores a value in session and displays the session ID on the page. If I refresh the page the session ID stays the same. The page has a link to itself (default.aspx) with a target of _blank. If I click this link a new tab is opened, but the session ID is different. If I then refresh the original window the session ID now matches the new window. <%@ Page Language="C#"

IE11 does not send session cookie when a link targeting a new tab is clicked (on first request)

流过昼夜 提交于 2019-11-29 05:52:15
I am having some trouble holding onto session when opening an initial new tab (target _blank) from IE11. When I close all instances of IE11 and then open a fresh browser and navigate to the test webpage (default.aspx) the page stores a value in session and displays the session ID on the page. If I refresh the page the session ID stays the same. The page has a link to itself (default.aspx) with a target of _blank. If I click this link a new tab is opened, but the session ID is different. If I then refresh the original window the session ID now matches the new window. <%@ Page Language="C#"