internet-explorer-9

Jquery not working in IE9 RC

跟風遠走 提交于 2019-12-04 11:15:55
问题 I have just upgraded to IE9 RC (which i must add isnt too bad an attempt by microsoft, so far, they still have time to mess it up! Please dont comment below on how wonderful/rubbish you think it is, I dont want a browser war! ) in order to test websites. Now I understand its only a release candidate, and is still being developed, but for some reason none of jQuery on my site is not being rendered properly (I say not rendering properly, I really mean not working fullstop). The only way to get

How to access Event.target in IE9?

南楼画角 提交于 2019-12-04 10:49:43
问题 The HTML DOM object model defines an Event object with a target property. Looking at MSDN, Microsoft documents a target property. They also document srcElement as an alias of target from earlier versions of Internet Explorer: The target property is similar to srcElement in Windows Internet Explorer 8 and earlier versions. So here i am in Internet Explorer, sitting at a click breakpoint: <div class="day" onclick="divClick(this)"> function divClick(sender) { var divCell = sender; And at the F12

How to set IE document mode?

三世轮回 提交于 2019-12-04 10:38:03
问题 In IE9 my browser has set: F10 -> tools -> compatibility views setting -> added 192.168.10.227 therefore when I try to serve file, the browser mode is 9 compat view, the document mode is IE7 standard. My question is, how do I make the document mode IE9 instead of IE7? I tried: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"> <meta http-equiv="X-UA-Compatible" content="IE=9" /> but neither is working. here is my document <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

SimpleModal doesn't work in IE 9 (inside Iframe)

跟風遠走 提交于 2019-12-04 10:11:25
I'm getting following error when using IE 9 (Chrome and FireFox works great): SCRIPT438: Object doesn't support property or method 'removeExpression' jquery.simplemodal.1.4.2.min.js, line 16 character 133 Simple Modal is called inside Iframe. jQuery.min (1.7.1) is included before SimpleModal (1.4.2) in the Iframe. The code responsible for showing modal dialog: function OpenContextByClass(cssClass, posY, posX) { var winHeight = $(window).height(); var winWidth = $(window).width(); $('.' + cssClass).modal({ overlayClose: true, position: [posY, posX], appendTo: 'form', onOpen: function (dialog) {

IE9 letter-spacing problem

ぐ巨炮叔叔 提交于 2019-12-04 09:01:18
问题 I have a page that renders ok, in FF (3x, 4x), Chrome, IE (6, 7, 8). When tested on IE9 the texts are wider. Investigating the problem it appears that the text is actually rendered whith letters more spaciated than in other borwsers. When changed the letter spacing to -0.6px the texts was rendered ok, similar to other browsers. Also when changed the render mode to "Compatibility view", the page looks just fine. Do you know what caused the change in the render mode? I "solved" the issue using

Modal dialog missing image on form submit, IE9+

为君一笑 提交于 2019-12-04 07:08:37
问题 This issue is driving me mad. So I've got a modal dialog. <div class="modal"> <img src="...."/> </div> Instanciated thus: $(".modal").dialog({ resizable: false, draggable: false, modal: true, autoOpen: false, width: 530, height: 460, closeOnEscape: false, dialogClass: 'popup noTitle' }); Then I have a form: <form> <input type="submit"/> </form> and Js to open the modal: $('form input').click(function() { $(".modal").dialog('open'); }); In most browsers this works great: In IE 9 and IE 10. The

IE conditional statement displaying div even though the condition says it shouldn't

情到浓时终转凉″ 提交于 2019-12-04 07:00:06
问题 I am having a peculiar problem and I am hoping someone has encountered this before and solved this or knows about this issue and has good knowledge as what is causing this. I am creating a site using HTML5-Boilerplate v4.3.0 and in that i have the regular conditional statements for IE ( to force browser to use the latest rendering engine) like shown here... <!--[if HTML5]><![endif]--> <!doctype html> <!--[if lt IE 7]> <html class="ie ie6 lte9 lte8 lte7" lang="en"> <![endif]--> <!--[if IE 7]>

JavaScript: how to generate UUID for Internet Explorer 9?

家住魔仙堡 提交于 2019-12-04 05:56:44
问题 Does anyone know how to generate UUID/GUID for Internet Explorer? I have code from Broofa at: http://www.broofa.com/2008/09/javascript-uuid-function/ this works fine on almost all the browsers except IE 9. 回答1: this is how I do it: window.Guid = function () { function part() { return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1).toUpperCase(); }; return { NewGuid: function () { return (part() + part() + "-" + part() + "-" + part() + "-" + part() + "-" + part() + part() +

jQuery slideDown in IE9 - content disappears after animation finishes

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 05:47:16
I've had this problem twice on two different sites. It works in all browsers other than IE9. I have a div being opened and closed using jquery slideup and slideDown (the same problem happens with slideToggle). I'm able to see the content of the div as it slides down, but as soon as the animation stops, the content disappears. Heres an example of this problem http://www.ohnuts.com/searchResults.cfm?criteria=cashews&search=all click on the "more categories" link. Has anyone else experienced this problem, and are there any workarounds? I can change it to just do a simple show/hide, that works

IE9 and Position Fixed

◇◆丶佛笑我妖孽 提交于 2019-12-04 05:13:44
问题 I'm trying to use the position fixed css on a simple one page website with vertical scrolling but am facing problems with IE9, it's like it's ignoring the fixed property, you can see the website here http://cairocubicles.com/sandbox/mahaly-iphone/ looks right on chrome, firefox. Appreciate the help. Yehia 回答1: Try adding a doctype to make sure IE9 isn't going into quirks. 回答2: This took me a while to figure out. I was writing some javascript using which contained code to write to console.log.