internet-explorer-8

Do events bubble up to window in IE?

拜拜、爱过 提交于 2021-02-19 05:24:10
问题 I'm binding a simple click event to the window object but the handler doesn't get called in IE8 (works on Chrome and FF): $(window).click(function (e) { alert('Hello there! I\'m in the window.click hanlder!'); }); Anyone why this is happening? 回答1: It seems that IE (testing IE8) doesn't bubble events to the window . Here's an example ( http://jsfiddle.net/SZXrn/8/ ): if (window.attachEvent) // IE { window.attachEvent('onclick', function () { alert("Yay window obj was clicked! IE"); });

Do events bubble up to window in IE?

家住魔仙堡 提交于 2021-02-19 05:24:08
问题 I'm binding a simple click event to the window object but the handler doesn't get called in IE8 (works on Chrome and FF): $(window).click(function (e) { alert('Hello there! I\'m in the window.click hanlder!'); }); Anyone why this is happening? 回答1: It seems that IE (testing IE8) doesn't bubble events to the window . Here's an example ( http://jsfiddle.net/SZXrn/8/ ): if (window.attachEvent) // IE { window.attachEvent('onclick', function () { alert("Yay window obj was clicked! IE"); });

Connect to a site via SSL/DavWWWRoot not usual URL? Why does this make a difference?

流过昼夜 提交于 2021-02-10 18:00:46
问题 Follow on from this question: Can i over-ride IE enterprise mode from HTML? I succeeded, in hosting a D3 SVG visualisation on my company sharepoint site. The Initial Issue: My internal company sharepoint site has enterprise mode settings in IE that was forcing me from IE11 into an IE8 environment per my console: HTML1122: Internet Explorer is running in Enterprise Mode emulating IE8. The workaround: Connect to site via the SSL in the browser, not via http/https URL. The connection looks

Connect to a site via SSL/DavWWWRoot not usual URL? Why does this make a difference?

五迷三道 提交于 2021-02-10 18:00:23
问题 Follow on from this question: Can i over-ride IE enterprise mode from HTML? I succeeded, in hosting a D3 SVG visualisation on my company sharepoint site. The Initial Issue: My internal company sharepoint site has enterprise mode settings in IE that was forcing me from IE11 into an IE8 environment per my console: HTML1122: Internet Explorer is running in Enterprise Mode emulating IE8. The workaround: Connect to site via the SSL in the browser, not via http/https URL. The connection looks

html2canvas and flashcanvas on IE8 not working

不羁岁月 提交于 2021-02-08 19:46:15
问题 I use html2canvas library to make a png image of a table. It works on Chrome, Firefox and Safari. The code is as follows: $('#myTable').html2canvas ({ onrendered : function(canvas) { var img = canvas.toDataURL('image/png'); var newWin = window.open('', '_blank','width=500,height=400'); var htmlPage = ""; htmlPage += "<html>"; htmlPage += "<head>"; ... htmlPage += "</head>"; htmlPage += "<body>"; ... htmlPage += "<img src='"+img+"' width='400px'/>"; ... htmlPage += "</body>"; htmlPage += "<

Javascript - copy all html code into clipboard

荒凉一梦 提交于 2021-02-08 10:31:00
问题 I am making an app which has to check an information from a special webpage. What I need to do is to pass the html content from this page to my existing program, and it does all the rest. The website where I get the data works in IE8 and newer, so it kinda narrows the problem. I need to make an extension for IE which could copy ALL the html code from the page it has been called from (and save it into a .txt, in the best case), so result would be as on the example: <html> <body> Hello world <

Internet Explorer won't update AJAX handled content on refresh?

人盡茶涼 提交于 2021-02-07 19:43:40
问题 I have a page that grabs content from a XML file through a Jquery AJAX call. The problem is it will update the content from the XML file on a refresh for every browser except IE. I have tried to solve this with meta tags <meta http-equiv="expires" content="-1"/> <meta http-equiv="cache-control" content="no-cache,must-revalidate" /> <meta http-equiv="pragma" content="no-cache"/> This is a small portion of the relevant javascript $(document).ready(function(){ $.ajax({type: "GET",url: "file1.xml

IE9, IE8, SVG, VML and doctypes

杀马特。学长 韩版系。学妹 提交于 2021-02-07 06:29:27
问题 I'm working on drawing shapes in my ASP.NET web app. In IE9 and other browsers, I'm doing it with SVG, and it's working great. In IE8 and below, I'm using VML. I'm finding that IE8 does not display the VML at all when it's in IE8 Standards mode (not using compatibility view). My doctype is set to <!DOCTYPE html> . If I take the doctype away entirely, IE8 goes to quirks mode and works fine, but IE9 then goes to its quirks mode (instead of IE9 Standards) and doesn't display the SVG. This is

Can IE8 post cross-domain requests from HTTP to HTTPS?

回眸只為那壹抹淺笑 提交于 2020-06-28 06:11:55
问题 I'm trying to make a secure authentication POST request from an HTTP domain to an HTTPS domain using Ajax. For Firefox, Chrome and other modern browsers, it's possible to do this using a CORS request. Unfortunately IE8 and IE9 don't support CORS, which makes this type of authentication difficult. In point 7 of XDomainRequest - Restrictions, Limitations and Workarounds, Eric Law mentions a workaround for IE's limitation on HTTP-to-HTTPS cross-domain requests. However, while the workaround demo