internet-explorer-9

Encoding issue while integrating Moment JS library

与世无争的帅哥 提交于 2019-12-12 11:23:39
问题 I have recently integrated MomentJS library into my application and have been running into a weird issue. Browser I have to use is IE9. When I launch the application for the first time with zh-cn locale, I see a few junk characters in place of date and time. When I log out and log in again, then the characters load properly. I check the encoding on screen and see it is UTF-8 both times. The issue is not consistent. I am at a loss as in what should I do to debug or get to the root of this

Elements not wrapping as expected in IE 8/ 9

偶尔善良 提交于 2019-12-12 11:00:23
问题 Yet another "IE is doing something different from other browsers" question but this is one is slightly unusual in that IE7 does the correct thing but IE 8 and 9 do not. Here is the situation, I have a simple 3 column layout. The first 2 columns are fixed width and the third I want to be variable width so that it uses up the available space. I am outputting textual data in the third column. The text data should be free to wrap at the end of a data value/sentence - so I output it as . <span

“SCRIPT5039: Redeclaration of const property” in IE9

廉价感情. 提交于 2019-12-12 10:56:30
问题 This has been asked already, but the solution there did not help me. What does this mean exactly? My regular HTML page uses a "script" tag to load my main_script.js file, where the first thing I do is: var internetExplorerSucks = 30; The variable used be be called FPS, but I thought it might have been taken by some random default global, so I renamed it to something that obviously isn't already taken. Still it fails to work. I get this error in the IE debug console: SCRIPT5039: Redeclaration

javascript not calling in IE9

对着背影说爱祢 提交于 2019-12-12 10:48:33
问题 I created a textbox and wrote onfocus="getFocus()" Now I wrote function in javascript function getFocus() { alert('Hello I Got Focus !!'); } The problem is in IE8 it worked perfectly, but in IE9 alert is not showing. Can anyone tell what is wrong with the code ?? I also tried txtAmt.Attributes.Add("onfocus","getFocus()") but still it didn't worked i too tried txtAmt.Attributes.Add("onfocus","javascript:getFocus();") Now i am worried.. what to do ?? 回答1: Open up the IE developer tool (F12)

Get datalist options in IE9 with JavaScript

人走茶凉 提交于 2019-12-12 09:36:07
问题 This code works in all major browsers except Internet Explorer 9. I don't understand what I'm doing wrong, it's probably something simple that I'm missing. Copy this code (or use this jsFiddle) to see the problem in IE9: <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>Datalist fetching in IE9</title> <script type="text/javascript"> //document.createElement('datalist');//this seems to fix it for IE6, but not for IE9 window.onload =

IE9 text rendering issue - tails on letters cut off

我是研究僧i 提交于 2019-12-12 09:33:33
问题 I'm running into an issue where - in IE9 standards mode - IE9 renders text in such a way that the tails on descending letters - "q, p, y" etc - disappear. Have tried playing with padding and other common CSS settings in helps of fixing this but am having no luck so far. Who's got an idea what this might be? 回答1: EDIT: I found this on a blog. The link isn't live anymore. Leaving it here just in case it pops up again. Its as though the text is a node inside the input and the line-height has

jQzoom IE9 Bug - Error

核能气质少年 提交于 2019-12-12 09:17:44
问题 I have a problem with the following page. http://nortlander.dk/frankrig/avoriaz/pistekort/ I have installed the jQzoom plugin, and everything works fine in all other browsers than IE9, are there any know bugs, issues or errors that somone is not telling me about :) All help would be apriciated. Thanks 回答1: i have the same issue. what i did is the following. if (img[0].complete || $.browser.msie) { //fetching data from sallimage if was previously loaded smallimage.fetchdata(); if ($(".zoomPad"

IE9 isn't applying @font-face fonts for a modal after it's shown

偶尔善良 提交于 2019-12-12 05:59:45
问题 So, I've got a page w/ a SimpleModal on it, and fonts are applied via Typekit (which uses some tricky JS to set up some @font-face rules) and everything is just dandy. Except for the modal itself; when you click to open it, the @font-face fonts aren't applied, so things look janky. If, however, you close it & re-open it, or you use the Developer Tools, the font is suddenly magically applied. Anybody seen this? 回答1: So Eric provided the answer (considering he's the developer of SimpleModal,

Internet Explorer exclusive Javascript error. Unable to get the value of the property 'childNodes'

ⅰ亾dé卋堺 提交于 2019-12-12 04:54:43
问题 ANSWERED: removing the header info from the XML file solved the issue. IE is great! The following code works in Firefox and Chrome, not in IE. I get the error SCRIPT5007: Unable to get value of the property 'childNodes': object is null or undefined. line 106, character 3` Line 106 is the first line inside the sort function, the one that begins 'var aCat = a.getElementsByTagName'.... None of the nodes being sorted are empty, although within the same in the xml file, there are some blank nodes

IE7 IE8 IE9 color:transparent property

孤人 提交于 2019-12-12 04:07:53
问题 I may not have enough information to generate a complete question here but I am going to give it a shot if anyone has ideas or needs more info ask in comments and i will try to get as much information as I can. I am dealing with an issue in some code that I did not write. The page uses a javascript date picker and puts that date into an input box. Tracing through the code and hitting f12 I changed the property from style="color:transparent" to style="color:black" and i am able to see the date