internet-explorer-8

Cursor moves to the beginning of a text field

巧了我就是萌 提交于 2019-12-10 04:25:03
问题 I have a certain problem with IE8 (and only IE), when I focus an input field which has text in it the cursor moves to the beginning of that field. I'm trying to set the cursor at the end. I've googled around and found the following solution: function setSelectionRange(input, selectionStart, selectionEnd) { input = document.getElementsByTagName("input")[0]; if (input.createTextRange) { var range = input.createTextRange(); range.collapse(true); range.moveEnd('character', selectionEnd); range

Is there any way to get IE8 to not ignore a CSS rule that it only partially understands?

情到浓时终转凉″ 提交于 2019-12-10 03:54:38
问题 I just ran into what seems like absurd behavior to me. If IE8 doesn't understand part of a rule it ignores the entire thing: input[type=radio]:checked, input.checked { /* Some CSS */ } I already have IE8 specific JS adding the .checked class, but because it doesn't understand :checked , it ignores the entire thing, so I'm forced to now have several rules: input[type=radio]:checked{ /* Some CSS */ } input.checked { /* The exact same CSS */ } So my question -- does anyone know of a way to get

jQuery CSS bug in IE8

隐身守侯 提交于 2019-12-10 03:24:22
问题 I have a bug in IE8 when trying to get a property from css for an element with background image. el.css({ 'background-position': "10px 10px"}); //set some alert(el.css("background-position")); //get the value In Opera, FF, Chrome, Safari works I get "10px 10px". Not in IE8 where I get undefined. I opened a bug report, but until then what do you think it will be a good workaround this problem. How should I get this values in some another way? 回答1: this should help. it links to jquery ticket

getComputedStyle like javascript function for IE8

北城余情 提交于 2019-12-10 02:39:07
问题 I'm trying to write a Javascript function inside a Java GWT code that gets the value of the following styles "direction", "fontFamily", "fontSize", "fontSizeAdjust", "fontStyle", "fontWeight", "letterSpacing", "lineHeight", "padding", "textAlign", "textDecoration", "textTransform", "wordSpacing" The getComputedStyle was useful in all browsers except IE8 which doesn't support such function as I understand I looked at the posts about smiler subject here but all of them failed to get one of the

IE ignores !important tag in css [closed]

本小妞迷上赌 提交于 2019-12-10 02:37:44
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . Recently I came across a wierd thing in IE. It ignores a '!important' tag for CSS attributes. Does anyone have a workaround for this, except putting it directly as a style attribute inside the DOM? I do not want

array.map function not supported in IE8 standards?

别等时光非礼了梦想. 提交于 2019-12-10 02:06:21
问题 I don't have IE8 so I am testing IE8 from within IE10. When I switch to "IE8 standards" for document mode, the javascript map function of an array object gives a javascript error: Object doesn't support property or method 'map' but when I switch to "Standards" for document mode, there's no error. Which mode should I test under? If IE8 doesn't support the map function, is there a way to emulate it? 回答1: It's not supported, but MDN provides a shim very close to the specification: // Production

soapUI changes (disables) proxy settings of Internet Explorer

浪尽此生 提交于 2019-12-10 01:23:20
问题 installed soapUI 4.5.1 . When i start soapUI it disabled all checkoxes in IE 8 Internet Options > Connection > LAN Settings . If i enter a proxy in soapUI > File Preferences > Proxy Settings , then soapUI overwrites the configuration in IE with this proxy The toggle button Apply proxy defined in global preferences in the iconbar has no effect on IE, only on soapUI connections. How can i disable this behaviour? 回答1: I found out, that when you uncheck File > Preferences > UI Settings Opens

JPEG Shows in Firefox but Not IE8

自闭症网瘾萝莉.ら 提交于 2019-12-10 00:55:18
问题 I'm working on a Sidebar Gadget and cannot get my JPEGs to show up (PNGs work). When I try to open the file by itself in IE8 it doesn't work. Firefox, of course, can open it fine. JPEG Details: Dimensions: 1080X900 180 dpi Bit depth 24 Color representation: uncalibrated I've found some things talking about the images being compressed incorrectly (?) but I haven't been able to get it working... Any clues? 回答1: Why are you dealing with the image at 180 dpi and not the 72dpi screen resolution?

IE8 XmlHttpRequest Debugging [closed]

断了今生、忘了曾经 提交于 2019-12-09 16:17:59
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I am looking for some way to elegantly inspect XmlHttpRequests in IE8. I wouldn't mind a plugin or an external program. I have yet to

How to disable default scroll bar for textareas in IE8?

佐手、 提交于 2019-12-09 15:32:24
问题 I am going through some of my older sites where I have a contact form and in IE8 there always is a vertical scroll bar displayed for my textareas, even when there is no content. In Firefox, it doesn't seem to make the vertical scroll bar exist until the content in the textarea reaches a height that deems them necessary. I have styled my input boxes on my older sites, and a scroll bar appearing by default makes them look quite ugly. My question, is there anything I can do about this, or is it