internet-explorer-8

IE8 label update via javascript issue

折月煮酒 提交于 2019-12-22 00:07:39
问题 I am trying to use javascript to update the text in a html label. It works in all browsers except IE8. In IE8 the label appears to be updated but is not displayed on the screen. I've created demo code below that shows the issue. Thanks <html> <head> <script> function sendRequest() { document.getElementById('errormessage').textContent="test"; alert("textContent : "+document.getElementById('errormessage').textContent); } </script> </head> <body> <a href="javascript:void(0)" onclick="sendRequest

Get height of enter browser window in ie8

跟風遠走 提交于 2019-12-21 23:58:28
问题 I'm trying to resize a browser (I know... I know...) by the width only, and would like to maintain the users current height of the browser and I'm struggling to get it working correctly under IE8. if I do: window.resizeTo(document.documentElement.clientWidth, document.documentElement.clientHeight); Which should in theory, maintain the exact same size, I'm losing roughly 176 pixels from the height... and roughly about the width of the scrollbar. I can't find any properties which would give me

Jquery ('#iframeid').load() is executed before Iframe CONTENT (text, images) are loaded

爱⌒轻易说出口 提交于 2019-12-21 21:53:58
问题 I'm trying to access data of an Iframe's Iframe. To force my javascript function to wait I use jqueries .load function. But still my javascript code get's executed "sometimes" before the iframe's content is fully loaded. By sometimes I mean that the behavior is different for different computers. On slower computers it waits most times for fasters computers the code gets almost always executed. So I suspect that Internet explorer 8 fires the onload event to early. Is there any jquery function

MSIE8 compatibility mode not rendering dynamically created table

南笙酒味 提交于 2019-12-21 21:11:44
问题 A bit weird... ...if running in IE8 quirks mode or in compatibility view mode, the table added by the following code doesn't render. Can anyone tell me why, because it is not obvious to me..? <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script> function AddTable() { var table = document.createElement('table'); var row = document.createElement('tr'); table.appendChild(row); var cell = document.createElement('td'); cell.innerHTML='abc'; row.appendChild(cell); var divContainer = document

AngularJS and quirks mode: blank screen on IE8+

断了今生、忘了曾经 提交于 2019-12-21 20:24:40
问题 I'm working on an Angular project that will be included in a HTML page I don't have control on. Actually I only have access to what is inside the <body> element. There are many constraints which are not the easiest to deal with: 1- I can't change the doctype: 2- I can't remove this meta tag: 3- The app has to load an XML file I managed to overcome points 1 and 3 but point 2 gives me a headache ! Here is the error I get when I test on IE8+ (it works fine on IE7 and other browsers): [$sce

How to properly clone (jQuery) an element that has style applied through PIE?

蓝咒 提交于 2019-12-21 19:43:18
问题 I have been using the .htc version of PIE successfully on a new project (that will specifically target IE8+), however, I'm having trouble when trying to clone an element that has PIE-style applied to it. I got a jsfiddle illustrating the problem here, and input is welcome (even other, similar approaches/alternatives to PIE) - however, .htc files cannot be referenced cross-domain, so this fiddle just contains the actual markup and CSS I use. Any help is appreciated. What could be causing this,

IE8: Object doesn't support this property or method

爱⌒轻易说出口 提交于 2019-12-21 18:32:02
问题 I know that my issue is known, I just can't figure out a way to fix the problem. However the code works in chrome,ff and safari, but not in ie6-8. I tried to debug the code and following popped up: Line: 272 Error: Object doesn't support this property or method This is line 272 from my js-file $('#page1')[0].addEventListener('webkitAnimationEnd', self.webkitAnimationEnd, true); Hav you got an idea what is wrong with it? I'm using jquery <script type="text/javascript" src="js/jquery-1.4.3.min

video.js - controls not displaying in IE8

孤人 提交于 2019-12-21 17:29:33
问题 I'm implementing videojs and have it working in all browsers however the controls are not visible and the play button is broken in IE8 with Flash fallback. Following some digging, I've ensured that I'm using the latest versions of js and css by linking to the cdn. Saw a reference to "boxWidth = box.offsetWidth" but I believe this was corrected since v3.2. The code is as follows and served up via an iframe in colorbox.js <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>

Due to the presence of characters known to be used in Cross Site Scripting attacks, access is forbidden

不羁岁月 提交于 2019-12-21 09:36:08
问题 Can anyone tell me where does following HTTP error message come from: Due to the presence of characters known to be used in Cross Site Scripting attacks, access is forbidden. This web site does not allow Urls which might include embedded HTML tags. We're using dynamically generated URLs and in this specific case the URL contains the characters '<' or '>'. We do URL encode the generated URL (so '%3C' appeary instead of '<') but it doesn't help. Our setup is ASP.NET MVC / IIS 7.5 / IE8. It's

Javascript error in IE8: Not implemented

心不动则不痛 提交于 2019-12-21 08:24:10
问题 This one really puzzles me, as the code looks completely harmless. IE8 halts script execution with a message: Not implemented. map.js line:66 char:5 Here is a snip from the code: 63 if(data.map[x] !== undefined && data.map[x][y] !== undefined) { 64 65 left = (x - data.dim.x_min)*32 + 30; 66 top = (data.dim.y_max - y)*32 + 30; 67 68 /* do stuff */ XX } debug info: x:263 data.dim.x_min:263 y:172 data.dim.y_max:174 Data is object returned from JQuery Ajax call. This works in Firefox 3.0 and 3.5,