internet-explorer

Using jQuery find to target SVG elements fails in IE only

孤人 提交于 2021-02-20 08:52:18
问题 I'm setting and removing a class on a 'circle' element inside an SVG block with jQuery. This works in all recent browsers I've tested but results in an error in IE (9 & 10, possibly all of them). jQuery(document).ready(function($) { console.log('Console running'); var $circle = $('svg circle'), clicked = false; $circle.on({ click: function(e) { setClick($(this)); } }); function removeClick(callback) { $('svg').find('.clicked').removeAttr("class"); console.log('clicked removed'); callback(); }

Accessing webservice with credentials using vba

放肆的年华 提交于 2021-02-19 08:33:26
问题 I'm working on a longer script for Access and at one point it is necessary to check a webservice for the latest version of a file (the filename). This webservice is only accessible via a browser with an URL like https://webservice.example.com:1234/Server/test.jsp?parameter=value then it is necessary to authenticate with the standard browser username password pop up. Of course I could skip this pop up if I'd use something like https://user:password@webservice.example.com:1234/Server/test.jsp

Excel VBA control IE

ⅰ亾dé卋堺 提交于 2021-02-19 07:54:05
问题 I have found the following code on the WiseOwl website. I am trying to find a working example (to learn from) on how to enter a seach string into Googles search field. I keep getting a debug error 462 andf cant get past this. The line causing the problem is: ieApp.Document.getElementById("gbqfqw").Value = "Excel VBA" My total code is: Sub FillInBBCSearchForm() Dim ieApp As New SHDocVw.InternetExplorer ieApp.Visible = True 'go to the website of interest ieApp.Navigate "http://www.google.co.uk"

This website does not have permission to use the Geolocation API

你说的曾经没有我的故事 提交于 2021-02-19 06:23:05
问题 I am expericing this error, while trying to use the geolocation api: This website does not have permission to use the Geolocation API The strange thing is that the same website is running fine on one some systems(where IE.9 and I.E10 are installed) and it throws error on a system where I.E 9 is installed. We tested it on different systems but it throws error only on that particular system where I.E9 is installed. Do we need some browser settings to use this API? What persmission do we require

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"); });

How to access full Adobe Acrobat AcroExch COM API from Internet Explorer embedded object?

做~自己de王妃 提交于 2021-02-19 04:24:34
问题 I have the following situation: Internet Explorer 9 on Windows 7 SP1 32-bit Adobe Acrobat Professional version 10 A webpage with code like this: <object data="foo.pdf" src="foo.pdf"> Given that: The default PDF reader on the system is Adobe Acrobat Adobe Reader's browser plugin is suppressed in favor of Acrobat's plugin Acrobat.exe is running when the plugin loads I'm using Internet Explorer's COM automation (from Ruby, but that doesn't really matter) to obtain a reference to the object 's

How to access full Adobe Acrobat AcroExch COM API from Internet Explorer embedded object?

僤鯓⒐⒋嵵緔 提交于 2021-02-19 04:23:40
问题 I have the following situation: Internet Explorer 9 on Windows 7 SP1 32-bit Adobe Acrobat Professional version 10 A webpage with code like this: <object data="foo.pdf" src="foo.pdf"> Given that: The default PDF reader on the system is Adobe Acrobat Adobe Reader's browser plugin is suppressed in favor of Acrobat's plugin Acrobat.exe is running when the plugin loads I'm using Internet Explorer's COM automation (from Ruby, but that doesn't really matter) to obtain a reference to the object 's

Why are the results of img width different in some browsers? Who is correct?

血红的双手。 提交于 2021-02-19 02:45:15
问题 This has a demo: <div style="position:absolute;"> <img src="https://i.imgur.com/iQ2rVup.jpg" style="width:100%;height:100px;" /> </div> On Codepen Chrome result: Firefox/IE result: I saw the W3C document. Absolutely locate non-displaced elements are calculated as follows. min(max(preferred minimum width, available width), preferred width) https://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-width Is the result of chrome wrong? 回答1: This will probably not answer the question but I will try

ASP.NET authentication cookie disappears, only in IE, only from specific locations

亡梦爱人 提交于 2021-02-19 01:40:50
问题 Internet explorer is not keeping my authentication cookie after one page redirect. Here is the situation: I have an ASP.NET 2.0 web application running on a shared iis7 hosting. The application uses forms authentication to handle login and user identity and writing a cookie (.ASPXFORMSAUTH) on the client machine for that purpose. in IE (checked with version 8, 9), from some locations , the authentication cookie is not being kept after the first page. The observed behavior is: User name and