internet-explorer-8

IE8 - Form within a hidden div, return key no longer works

这一生的挚爱 提交于 2019-12-11 01:15:44
问题 I have a login form that resides within a div with display: none; I then fade in the form using jquery but the Enter/Return key no longer submits the form. If I change the display to block, it works fine. This problem is IE only. Any ideas? Here's an example code that doesn't work; <div id='formdiv' style='display: none;'> <form id='loginForm' name='createLoginForm' method='post' action='' > <input type='text' name='username' id='username' /> <input type='password' name='password' id=

dijit.byId doesn't work on IE8 with dojo.addOnLoad

泪湿孤枕 提交于 2019-12-11 00:35:13
问题 When I load this script with IE8, I've got exception Object does not support this property or method . But it works with other browsers. I use dijit 1.3.1 and I don't understand. dojo.addOnLoad(init); var DG; var datas; function init(){ DG = dijit.byId("DG"); } I've had parseOnload: true but it changes anything. <script type="text/javascript" src="dojo/dojo.js" djConfig="parseOnLoad: true"> </script> 回答1: This migth probably not fix the problem, but the function init() is used before it was

Width issues using HTML select within a DIV using IE

我们两清 提交于 2019-12-11 00:05:34
问题 Here is an example I have put on jsfiddle <div style='width:30px;border:solid 1px'> <select style='width:100%'> <option>This is my first option</option> <option>option</option> </select> </div> <br/> <br/> <div style='width:300px;border:solid 1px'> <select style='width:100%'> <option>This is my first option</option> <option>option</option> </select> </div> In every browsers (FF,Chrome,Safari,IE9,IE9 in IE8 mode) other than IE 7/8, the options of the first combo are fully visible. IE8 is

Raphael.js function getBBox give back NAN/NAN/NAN in IE8

老子叫甜甜 提交于 2019-12-10 23:50:04
问题 using Raphaël 2.1.4 - JavaScript Vector Library do something like that: var textDummy = paper.text(50,500, 'hello world').attr({fill: 'transparent', 'font-size': 14}); var textBox = textDummy.getBBox(); with chrome and firefox everything is fine, but in IE8 it give back NaN/NaN/NaN, par exemple textBox.height is NaN. how i can fix this? 回答1: I had the same problem in Rapahel 2.2.0 and 2.2.1, and using ._getBBox() didn't fix it for me. What did fix it for me is falling back to .auxGetBBox() if

Outstanding issues with jQuery.ajax() in IE8?

谁说胖子不能爱 提交于 2019-12-10 23:32:21
问题 I am loading feed-items into a ul using this jQuery .ajax() call, which I basically lifted from http://www.makemineatriple.com/2007/10/bbcnewsticker/ var timestamp = true; //set whether timestamp is displayed in $.ajax({ type: "GET", url: "sample-feed.xml", dataType: "xml", success: function(xml) { $(xml).find('item').each(function(){ var title = $(this).find('title').text(); var link = $(this).find('link').text(); if(title.length >=57){ title = title.substring(0,54) + "..."; } var addItem =

InnerHTML IE 8 doesn't work properly? Resetting form

偶尔善良 提交于 2019-12-10 23:29:04
问题 Yeah this works in FF and Chrome, but for some reason wont work in IE 8. I'm using a radio button to clear a section of a form.. that section is a select box, but I don't want to leave the area empty - instead I want to reset it to what it was when the page loaded. At the moment IE8 is just leaving me with an empty small select box. Html: <select id="city_select" disabled="true" name="location_id" onchange="show_search_button();"><option selected>Select your city</option> </select> Javascript

Angular Views/Routes in IE8

寵の児 提交于 2019-12-10 23:13:19
问题 I followed this document: http://docs.angularjs.org/guide/ie But still I do not see the views in IE8. It works fine in modern browsers. Does ngRoute helper module support IE8? Any suggestions? <!DOCTYPE html> <html xmlns:ng="http://angularjs.org" id="ng-app" ng-app="demoApp"> <head> <!--[if lte IE 8]> <script src="//cdnjs.cloudflare.com/ajax/libs/json3/3.3.0/json3.min.js"></script> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <div

IE8 opacity activex problem

非 Y 不嫁゛ 提交于 2019-12-10 22:36:54
问题 In my css file I have this: #imageDes { opacity:.70; filter: alpha(opacity=70); } if I use this on html page and open it in IE8, I get an activex warning! What can I do? 回答1: This is a standard warning when running these sites in the local security zone. If you run the page locally, you'll get the warning. If you run it from a server, in the internet zone, you won't get the warning (unless you've modified your security settings). If you need to run the page in the local zone without the

Basic CSS features not working in IE8

喜你入骨 提交于 2019-12-10 22:34:15
问题 I am completely at a loss here. I'm developing a website that needs to support a large group of users who are using IE8. Everything works in IE9 and above, as well as Chrome, Firefox and Safari - but I can't for the life of me even get basic CSS - such as a height property - to consistently work in IE8. For example: CSS in my style sheet: #loginName{ height:1.6rem; display:inline-block; padding:0.75rem 1rem 0; border-radius:1.5rem 1.5rem 0 0; transition:all 0.5s ease-in-out; } What IE 8

IE8 toggleClass not working properly

断了今生、忘了曾经 提交于 2019-12-10 22:19:30
问题 Well I have a menu and there I want to have an class called active , when its active, obviously. To toggle this class I am using the jQuery toggle function, but it does just activate it in the js element. If I check the dom element, this class is never set. But I need this class, because of my CSS styles. I know that there are already many topics about toggleClass jQuery, but they doesn't fit (at least I couldn't find anything suitable) Here some code: $('#menu').on('click', '.tab span',