FAQ Database Discussion Community


Internet Explorer 8 Compatibilty jQuery

javascript,jquery,internet-explorer-8
Hi, Im just wondering if someone can help me on this, i keep getting this in IE8, ive been through the jQuery and checked it all for errors, i did have a couple too many ,'s after options and a few after brackets but no matter what i try...

d3 tree very long text in indented tree how to put it in next line

javascript,d3.js,internet-explorer-8,tree,wrap
Hi i will use this jsfiddle as a reference http://jsfiddle.net/elviz/Ge58Q/13/ nodeEnter.append("text") .attr("dy", 3.5) .attr("dx", 5.5) .text(function(d) { return d.name; }); as you can see i have a node that a has a very long text i just want to ask if i reach a certain amount of text i want...

IE8 Object Expected error when object contains null value

javascript,json,object,internet-explorer-8
I'm using a small poly fill in order to make Object.key availible for IE8. Everything seems to be working fine when my object contains all values. However when I have null values in the object I get an error about Object Expected. I'm not sure why having a null would...

Invalid Argument in IE8 using R2D3.js when appending 'tr' tag

internet-explorer,d3.js,internet-explorer-8,invalid-argument
I have an application that uses D3.js, but I have to make it compatible with IE8... So I used R2D3.js, which seems to be a really good alternative for SVG manipulation. But for basic tags... I use it to manage data inside a table, but when it comes to append...

IE8 “Object doesn't support this property or method” with JQuery 1.7

javascript,jquery,internet-explorer-8
When the following code is executed in IE 8 the console displays the error "Object doesn't support this property or method" for line 4 character 4. This only happens with IE 8. I'm using jquery-1.7.1.min.js $(document).ready(function () { var states = ["NEW YORK", "PUERTO RICO", "ALABAMA", "ALASKA", "AMERICAN SAMOA", "ARIZONA",...

Hide div not works in IE8

javascript,jquery,internet-explorer-8
This is my code. it work perfect in chrome and firefox but not in ie8. i have test in ie10 and ie11 . it works.. do you know how to fix this?.. i get the code from here : https://jsfiddle.net/XqshE/2/, Does it because of this tag?..getElementsByClassName not supported by IE8?...

Call parent function that was written to parent from iFrame in IE8

javascript,iframe,internet-explorer-8
I have an issue in IE8. I have an iframe as follows. <!doctype html> <html lang="en"> <head> </head> <body> <script id="myscript"> function foo() { alert('foo'); } </script> (function () { var pdoc = parent.document; var dest = pdoc.head; var text = document.getElementById("myscript").textContent; var pscr = pdoc.createElement("script"); pscr.textContent = text; dest.appendChild(pscr);...

Placeholder value didn't work in IE8

javascript,jquery,html,css,internet-explorer-8
I have been created webpage using html,css and jqueries. I fixed maximum issues in IE8. Still i am struggling in placeholder value in form. For that i tried, I added below scripts in my head tag: <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery-placeholder/2.0.8/jquery.placeholde‌​r.min.js"></script> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> And i added inputs before closing body tag:...

jQuery tablesorter - IE8 issue with adding style to table row

javascript,jquery,css,internet-explorer-8,tablesorter
Using jQuery tablesorter to sort and give style to each odd row in the table. Issue: IE8 ignores the table row background or wouldn't apply the style for odd rows. Any idea how to make this work for IE < 9? Here is the http://jsfiddle.net/rdos/kg7e771g/3/ - this works fine in...

CSS border and padding not working in IE 8 + 9

jquery,html,css,internet-explorer-8
I have the following DOM and CSS: var tableRow = jQuery( jQuery('<tr/>') .addClass('tr_class') .append( jQuery('<h3/>') .text('Title') .addClass('first_class second_class') ) ).appendTo(table); .tr_class{ padding: 0px 0px 2px 5px; /*not working*/ display: block; /*not working*/ } h3.first_class { font-weight: bold; /*working*/ } h3.second_class { border-bottom: 1px solid #5f7836; /*not working*/ padding: 3px; /*not...

IE8 :active selector not working if child is clicked

css,internet-explorer-8
Hello I was making some buttons for a client and he needs IE8 support. The issue I'm facing is that when I click on the button (a tag) it works and the button shows as pushed / active but when I click on the child element (span) it doesn't. Is...

Associative Array Internet Explorer 8/9

javascript,arrays,internet-explorer-8,internet-explorer-9
I've an javascript Array: obj[name][uid] = 10 obj[name][blub] = 12 When I am checking in modern browsers for if(obj[name] == undefined){ ...do stuff } else ... it works great. But in IE 8 and 9 it doesnt work. How can I check in IE 8/9 if this array has been...

IE8 'required' radio buttons

internet-explorer-8,required
I have huge problem, because my app must work properly on IE8. Could you tell me why required doesn't work on IE8? It works on Firefox. I have a lot of radio buttons and I need them to be required <tr> <td><input type='radio' name='check' value='0'></td> <td><input type='radio' name='check' value='1' required></td>...

IE8 vs IE8 compatibility mode inset border CSS issue

css,internet-explorer-8,ie8-compatibility-mode
I have a inset style on a border in CSS. It displays fine in IE 8 compatibility mode, but in IE8 is shows a black border instead of the regular inset. Any suggestion on how to fix this? #div { border-style: inset; clear: both; } ...

Implement event delegation from document body by default

jquery,ajax,internet-explorer-8,magnific-popup
My issue start from a problem in IE8 when loading dynamic html pages that contain script tags via ajax (using magnificPopup.js).Therefore I had to remove all the js code from these dynamically called pages and put them in a seperate .js file but then it requires using .on for every...

Why does my Javascript break in IE8?

javascript,jquery,internet-explorer-8
The following code breaks in IE8: getTypes: function (filter) { features = [] _.each(this.collection.models, function (item) { _.each(item.get(filter), function (value) { if(features.indexOf(value) == -1){ //// error happens here features.push(value) } }) }) return features } I get the error message: Message: Object doesn't support this property or method http://jsfiddle.net/w8fm2bf1/ Why...

Jquery attr('style') and addClass() not working

jquery,internet-explorer-8
I have a div like this: <div id="sidebar_holder"><div> Now i want to set the style attr and class dynamically using jquery. jQuery(document).ready(function() { var s = $("#sidebar_holder"); s.attr("style", ""); //kill absolute positioning s.addClass("stick"); //stick it ...

Making a CSS3 family tree IE8 compatible

jquery,css,css3,internet-explorer-8
I would like to use this great CSS3 family tree, but I require support for IE8. The main problem seems to be the :before and :after elements that don't hide when they should, as shown in the image below. (First grand child shouldn't have a line going to the left,...

IE8 changing GET request to POST: Angular $http

javascript,angularjs,http,internet-explorer-8,xmlhttprequest
I am making call to a REST service from my AngularJS app using $http. The issue is whenever I make a GET request from IE8, it gets converted to POST request. Calls with other http methods (POST,PUT) work fine. This happens only with IE8. Here is my code ``` var...

IE8 issue with Bootstrap 3 and testing in IE emulation modes

twitter-bootstrap-3,internet-explorer-8,warnings,ie8-compatibility-mode
I'm creating a website with Bootstrap 3.3.2 and on IE8 I have this alert displaying every time I refresh or change page : WARNING: You appear to be using IE8 in IE7 emulation mode. IE emulation modes can behave significantly differently from ACTUAL older version of IE. PLEASE DON'T FILE...

Hard pro coding - strange error in IE8

javascript,html,internet-explorer-8,mustache,template-engine
Please help to find an error in library to compile HTML. Unfortunately it won't work with <script type="text/template"></script> for IE. "Unterminated string constant" appears in IE8 console in line with this code: return new Function("variables", 'variables = [variables], svar = "' + block(template.replace(/"/g, '\\"').replace(/\n/g, '\\n')) + '"; return svar;'); Full...

How to access clipboard and current cursor position when pasting in a textarea in IE8/9 before it becomes the current value?

javascript,internet-explorer-8,internet-explorer-9,textarea,maxlength
Since IE8/9 do not support HTML5's maxlength attribute, I need to find a way to prevent pasting too long text into a textarea/input, so I chose to go with the onpaste-attribute/eventhandler via jQuery, see the example code below: $(document).ready(function() { $('textarea[maxlength]').on('paste', function() { var maxlength = $(this).attr('maxlength'); if (this.value.length >=...

YUI on IE8: Argument not valid on dom-style.js

internet-explorer-8,yui,liferay-aui,alloy-ui
I have asked this everywhere but still not getting any feedback and is getting me crazy. We are using some Alloy UI widgets on the portal im working with (Liferay 6.2) and everything works fine in all the browsers but IE8. For some reason im getting an error message regarding...

IFRAME won't display 100% height in IE8, but fine in IE11 and Firefox

html,css,internet-explorer,iframe,internet-explorer-8
I have a HTML page with an iframe in a div. The iframe height should be 100% of the available window height. This displays as expected in IE11 and Firefox, but in IE8 the iframe remains at a fixed size, regardless of the window size or the iframe content. When...

Menu CSS issue in IE8

css,drop-down-menu,internet-explorer-8
I have created a Menu list. It is working perfectly on Chrome and Firefox but misaligned in IE8 Chrome Snapshot :- http://postimg.org/image/g6uf9zikr/ IE8 Snapshot :- http://postimg.org/image/u6o3pzasz/ Here's my CSS ------ div.menu { background-color:#383838; height:65px; margin-bottom:20px; } div.menu ul { vertical-align:middle; list-style:none; margin:0; padding:0; } div.menu ul li { float:left; display:block;...

Is this expected behaviour for .split() in IE8?

javascript,internet-explorer-8
I just came across an issue in IE8, using the .split() method. element.name = 'question[10]'; var splitName = element.name.split(/\[([0-9]+)\]/); // Split name just had 1 element, // splitName[0] == 'question' // In Chrome/Firefox it has 3 // splitName[0] == 'question' // splitName[1] == '10' // splitName[2] == '' I've found...

element.attributes in IE8 has too many items?

javascript,jquery,html,internet-explorer-8
I ran across a website that shows inconsistent behavior with element.attributes in IE8. The website is www.leumi.co.il In any "regular" modern browser, the following code returns just a few attributes, usually in correlation with the actual attribues that were defined in the HTML. jQuery('li')[0].attributes.length; jQuery.each(jQuery('li')[0].attributes,function(i,a){console.log(a.name)}); But in IE8, the same...

Bootstrap and IE9/8 - making me crazy

twitter-bootstrap,internet-explorer,internet-explorer-8
What is the problem with Bootstrap in IE8/9? http://www.stockholmcharterguide.com/ I've scanned the web and found some trix but - still the same grey overlay. Is there a difference if you use the html5shiv.min.js local or remote?...

Pick CSS for IE8 works in emulator but NOT directly on IE8

javascript,jquery,html,css,internet-explorer-8
I'm detecting the browser version using jQuery and setting CSS based on the browser version. if ( getBrowserVersion() == '8' ) { $('head').append('<link href="/css/MSIE8.css" rel="stylesheet" id="MSIECSS8" />'); } function getBrowserVersion() { var ua = navigator.userAgent, tem, M = ua.match(/(opera|chrome|safari|firefox|msie|wow64|trident(?=\/))\/?\s*(\d+)/i) || []; if ( /trident/i.test( M[1] ) ) { tem =...

IE8 - “object doesn't support this property or method” on minified return statement

javascript,jquery,internet-explorer-8
I have a function that simply gets the query params of a url from a string. (I use it to tweak the src attr on an iframe). Heres the function: getQueryParameters : function (str) { 'use strict'; var params; if (!/\?.+/.test(str)) { return {}; } params = (str || document.location.search).replace(/(.+\?)/,...

log4javascript IE8 unexpected error “Fonction attendue”

javascript,internet-explorer-8,log4javascript
I'm trying to redirect console calls to log4javascript library. So basically, any call to console.log will call log.info, log being a Log4javascript instance. But when it calls log.info I get a "Fonction attendue" error (French) which basically means "Function expected". I also tried to call log.info from the IE8 console,...

Keydown function to prevent letters - How to load function before key is entered

javascript,jquery,input,internet-explorer-8
I've taken a code snippet from a different closed post, which mainly works well, apart from one aspect. I have an input field which I need to be numeric only I need to allow for the use of a full stop The code below works fantastically in allowing the above...

Alternative to array.some() method?

javascript,jquery,internet-explorer-8
Is there an alternative to using array.some()? I've had it in my code for a while but I just learned that its not supported by IE8. My original code: var list = ['Johny', 'Adam', 'Johny']; var option = 'Johny'; var foundInList = list.some(function (el) { return el === option; });...

Making postMessage() and addEventListener() compatible with IE8

javascript,internet-explorer-8,addeventlistener,postmessage
I'm working on a project where we need to use both postMessage() and addEventListener(), but we want to make the application compatible with major browsers. Because there are still people (yes they exist, and yes they should be burned) using Internet Explorer 8, we need to make the above two...

IE8 Conditional Style sheet affecting all IE

html,css,internet-explorer,internet-explorer-8
Some of my CSS elements don't work in IE8. So I am using a conditional style sheet to set display:none for them; however, this affects everyone using IE browsers no matter the version. I'm using the following code: <!DOCTYPE html> <html> <head> <title>website title</title> <meta name="description" content="web description"> <meta name="viewport"...

How to stop Knockout 3.2 library loading twice

javascript,jquery,knockout.js,internet-explorer-8
I have the issue that binding expressions such as <div data-bind="text: $data.Property"></div> -where Property is an observable- causes the actual text of knockout's observable function to display instead of the value Property is supposed to represent. This was addressed here In IE8, KnockoutJS 3.2 displaying actual observable function rather than...

How to make a div element fixed?

html,css,internet-explorer-8
I need my <div> with id=prompt1 to be fixed and on top of all other elements . So that whenever I scroll the window, I can still see that <div> . In my html i does not work . (IE8) <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js"></script> <script> $(function() { for (i=0;...

Javascript Date parsing NaN in IE8

javascript,internet-explorer-8
I get NaN error when I try to parse date from JSON in my Javascript Format of date: "2015-02-10T23:01:00.000Z" This is my code that works in Chrome but not in IE8: var sdate = new Date(entry.startDate); var sdateMonth = sdate.getMonth() + 1; var sdateDay = sdate.getDate(); var edate = new...

Exclude mmenu in IE8

internet-explorer-8,mmenu
As mmenu does not support IE8, I'd like to stop it from doing anything in it. That way I can apply a different menu for IE8 only. How would I do this? Thanks...

Internet Explorer 8 error, Object Required (JavaScript)

javascript,internet-explorer,internet-explorer-8
I wrote a todo in chrome that works fine. I tested it in IE8 and it didn't work. So I made a new file to write specifically in IE8, and I can't even get a simple function to work properly. I would like help in finding out what i'm doing...

Getting rid of progress indicator in status bar on ie8

javascript,internet-explorer-8
On ie8 there is a green progress indicator below on the status bar, likely indicating download progression based on some static length value from somewhere. Unfortunately due to the nature of "modern" dynamic javascripts, ajax calls etc. this indicator often gets messed up and the bar stays at half full....

Jvector Map Not Working prepare IE8?

javascript,html,css,internet-explorer-8,jvectormap
I have currently Using Jvcetor Map showing error in IE8 browser.document mode and browser Mode different showing errot. but both same its working Here attach MY code : <!DOCTYPE html> <html> <head> <title>Country Footprint</title> <script> jQuery.noConflict(); jQuery(function(){ var $ = jQuery; $('#focus-single').click(function(){ $('#map1').vectorMap('set', 'focus', {region: 'AU', animate: true}); }); $('#focus-multiple').click(function(){...

Django CMS bootstrap navbar always collapsed in IE8

django,twitter-bootstrap,internet-explorer-8,django-templates,django-cms
Hello I am developing a django cms for my company but running into issues with the navbar in IE8. using: -Python 2.7.6 -Django (1, 7, 8, 'final', 0) -django-cms 3.1.0 -boostrap 3.3.4 here is my template {% load cms_tags staticfiles sekizai_tags menu_tags %} <!DOCTYPE html> <html> <head> <title>{% block title...

Prevent proxy reassignment

windows,windows-7,internet-explorer-8,gpo
I work in big company and big brother always watching and enforce its own rules. However to do my job I have special proxy server settings in IE8 which gives me access to what I need. All legal and based on job description. Everything is fine except every few hours...

Binding click event to ie8 $window in angularjs

angularjs,internet-explorer-8,onclick
My initial approach to binding a click event in ie8 for angularjs has been this: var w = angular.element($window); w.bind('click', function(){alert('hi')}); But that works in every browser except ie8 of course. So I tried: function bindEvent() { if($window.addEventListener) $window.addEventListener('click', alert('Hi'), false); else $window.attachEvent('onclick', alert('Hi ie8')); } This works for all...

Override responsive queries for IE8

jquery,internet-explorer-8,responsive-design
I am modifying another developer's files and they had the following jquery set up to ensure that the website doesn't respond to queries in IE8 and it just shows the 960 width style. It is not working anymore though and I can't figure out why. function getWidth() { if ($("html").hasClass("lt-ie9"))...

IE document mode 8 or below is not compatible with .svg image type

html,css,svg,internet-explorer-8,compatibility
I have a document which has to be compatible with IE document mode 8. The html document has the following line <meta content="IE=8" http-equiv="X-UA-Compatible"> Now I have an .svg image which i Display using css file as follows, background: url('../images/iPhoneAppStoreLogo.svg') no-repeat 0 0; But this image is not displayed in...

Issue with z-indexes within an iframe

jquery,css,iframe,internet-explorer-8,z-index
I am developing an asp.net web application that will be used within an iFrame in an existing application. The application needs to support IE8 and above. The application looks fine alone in IE8, but once you render it within the iFrame it seems to disregard z-indexing. This is essentially the...

CSS: How to set up border radius cross browser (only IE8 and IE9 missing ?)

css,internet-explorer-8,internet-explorer-9,border,internet-explorer-10
I have created my own buttons and set up some simple border radius. So far I have the following which works fine for me in newer browsers but I am not sure what I have to add here to cover IE8 and IE9 as well (I am not interested in...

Font Face issues in Internet Explorer 8

css,internet-explorer,fonts,internet-explorer-8,font-face
I created a test page for IE 8 to see if i could use Google fonts. You can find the code at the end of the question. I am including every Google font i need by using a element with a list of them. Now, depending on the HREF attribute...

jQuery working on Firefox but partially on IE8

jquery,firefox,internet-explorer-8,compatibility
I have made a jQuery script who working well on Firefox but not on IE8. On IE, when I select an option, the title don't change but in Firefox it do it. I'm using jQuery v 1.11.3, suposed to be compatible with IE8. My HTML code : <!DOCTYPE html> <html>...

Styling Text Elements in Internet Explorer 8

css,internet-explorer,internet-explorer-8
.title { font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-weight: 800; color: #1e1e1e; font-size: 24pt; } https://jsfiddle.net/pa3ztdwt/ The above fiddle works fine in Google Chrome, but does not work in Internet Explorer 8. It seems that the font-weight property is not rendering properly in Internet Explorer 8. Do we have any...

RewriteCond “except for directory” failing in complex rule set

apache,.htaccess,mod-rewrite,internet-explorer-8
I need to force everything except IE8 to HTTPS and IE8 specifically to HTTP (it's temporarily - hence the 302 - its stupid, but there are legit business reasons). I want all of this to ignore the /api/ directory as the app that utilizes these sadly doesn't follow redirects. The...

My jquery only works in console

jquery,html,internet-explorer-8
I have created a Twitter feed API solution. The script looks like this: <div id="twitter-feed"></div> <a href="#" id="twitter-link"> twitter</a> <script src="//code.jquery.com/jquery-1.11.2.min.js"></script> <script type="text/javascript" src="twitter-feed.js"></script> <script type="text/javascript"> var settings = { "id": '[myid]', "domId": 'twitter-feed', "maxTweets": 2, "enableLinks": true }; $(document).ready(function(){ twitterFetcher.fetch(settings); // Works in console, but not...

How to rotate and translate using CSS in IE8?

css,internet-explorer,internet-explorer-8
We've added some new fancy css to our page that uses transform rules, however we need to keep compatibility with IE8 and those rules don't work there. All we did was rotate and translate a few elements and I managed to do the rotation in IE8 using this code: -ms-filter:...

Migrating Atmosphere 1.0.0 to 2.X.X breaks Async communication for Internet Explorer

internet-explorer,internet-explorer-8,migration,richfaces,atmosphere
Recently I migrated my application from using Atmosphere 1.0.0 to 2.2.4 (along with RichFaces 4.5.3.Final). The problem that is now showing occurs only using Internet Explorer 8. When I enter the page such log is produced: 27-04-2015 13:16:55 AsynchronousProcessor [ERROR] Invalid request state. AsyncContext#startAsync not supported. Make sure async-supported is...

Code not working in internet explorer 8

html,css,internet-explorer-8
The code below works perfectly in Google chrome but not Internet Explorer 8. I have not tested it in anything higher than Internet Explorer 8 as we have all XP machines here. is there a snippet i can put in to force it to work in internet explorer or am...

Using OpenLayers 3 in IE8 (canvas issues)?

javascript,canvas,internet-explorer-8,openlayers,openlayers-3
Does OpenLayers 3 support IE8? I've implemented a map on one of my sites but when I checked it in IE8 on XP then I get an error which traces back to canvas.getContext("2d") on line 27951 of ol-debug.js. It seems that IE8 does not support the canvas element, so should...

CSS: How to set up gradient background cross browser (only missing IE8 and IE9)

css,internet-explorer-8,internet-explorer-9,background-color,linear-gradients
I have created my own navbar and would like to set up a simple gradient background color for it. So far I have the following which works fine for me in newer browsers but I am not sure what I have to add here to cover IE8 and IE9 as...

Jqgrid is not loading in IE 8 32 bit. Working fine in IE 8 64 Bit

javascript,jqgrid,internet-explorer-8
I am trying to test the Jqgrid in IE-8 32 BIT version and it is not loading the grid totally. When i check in developer tools i can see all scripts are loaded. Once i click on the start debugging button all scripts were gone. It is working fine in...

What is the differece between my codes when find checkbox in IE8?

javascript,jquery,checkbox,internet-explorer-8
I have tree type of checkbox which class is named checkAll,checkRow,checkCell in my grid. When I click checkAll checkbox ,all the checkbox will be checked.When I click the checkRow checkbox,the checkbox in this row will be checked. Now I use the same code to create checkAll,checkRow event, I find checkAll...

Vanilla JavaScript CORS request with XDomainRequest in IE8 not working

javascript,ajax,internet-explorer-8,cors,xdomainrequest
I try to build a simple wrapper function for making CORS Ajax requests in IE 8: function getCORS(url, success) { var xhr = new XDomainRequest(); xhr.open('GET', url); xhr.onload = success; xhr.send(); return xhr; } getCORS('http://foo.com/?q=test', function(request){ console.log(request.currentTarget.response || request.target.responseText); }); However, IE 8 returns "Access denied", although CORS requests in...

Is there any way to ensure that icon fonts always load on IE 8?

internet-explorer-8,icons,webfonts,icon-fonts,fontello
I've been trying all day to get custom icon fonts to work in IE 8 (for example, with Fontello or Icomoon). Both Fontello and Icomoon offer "demo" pages of the icon font after you download it. I've been using the demo pages to test. As far as platform, I've been...

Plupload not working with internet explorer 8/9

json,spring-mvc,internet-explorer-8,plupload
I am using plupload plugin to upload file and Server side I am using Spring MVC. It is working fine with IE 10+ and chrome, firefox but not with IE 8/9. In IE 8/9 I get HTTP error 406. Below is my Server side code: @ResponseBody @RequestMapping(method = RequestMethod.POST, params="uploadFile")...

Media queries not working in IE8 - even with respond.js work-around

javascript,html,css,internet-explorer-8,media-queries
My site consists of 5 divs (represented by green boxes). There should be 3 per row, and you can view my demo site here: http://testsite24.netai.net/public/demo.html IE 8 doesn't support media queries, but I'm using respond.js as a work-around. I can't get it to work though. the media queries I'm using...

Using feature detection to check support for reserved words via dot notation

javascript,twitter,internet-explorer-8,browser-feature-detection
I am working on a site where we still need to support IE8, and we are trying to include the Twitter share button widget. In IE8 we are seeing the 'Expected Identifier' error. This seems a common problem, and posts such as the following explain it fully and well: Twitter...

Simple dropdown not working on IE8

jquery,drop-down-menu,internet-explorer-8
I'm trying to make a simple dropdown menu with jquery but is not working for IE8, any ideas why ? I have already tried a couple of alternative solutions and I know that there are more simple ways to approach a simple dropdown but I really want to know why...

Knockout multiple click bindings do not work with IE8

javascript,jquery,knockout.js,internet-explorer-8
The problem: Multiple click binding do not work in IE8. The code: var Cart = function() { var self = this; self.books = ko.observableArray(); self.cds = ko.observableArray(); }; var TheModel = function() { var self = this; self.cart = ko.observable(new Cart()); self.showAddBook = function() { self.cart.books.push(/* new book */); };...

Angular Routing Causes Infinite Loop In IE

javascript,angularjs,internet-explorer-8
I am receiving the following error when I look at my code in Internet Explorer 10 (it does not necessarily render in standards mode, this is out of my control due to the way the page is served). http://errors.angularjs.org/1.2.28/$rootScope/infdig Here is the routing I've used: phoneApp.config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider){ $routeProvider...

Issues in css floating property in IE8

html,css,internet-explorer-8
I have been created simple webpage by using html and css. Here is the worked jsfiddle, http://jsfiddle.net/y7xmr6ct/ [part of work only] In header cart-summary section displayed in all browsers expect ie like this: http://s4.postimg.org/tuvx8avt9/Untitled_1.png But in ie8, displayed left side of my header. I tried to use clear:left; or width:100%;...

Use AS3 to open an swf. in a browser without the browser toolbar (forward / back buttons)

actionscript-3,flash,internet-explorer-8,swf
I have developed a very large swf. that will only be accessed in-house. There are over 100 scenes & 10000 frames (I had no idea the project would grow this large). I have developed a navigation system within the swf., but I have found that many users are clicking the...

resize event triggers only when manually resizing browser window on ie8

javascript,css,internet-explorer-8,caroufredsel
I'm editing some legacy code and we use CarouFredSel plugin here - http://docs.dev7studios.com/jquery-plugins/caroufredsel and so i got myself into this strange problem - in ie8 plugin items initializes in some misaligned position. When i manually resize the window everything realigns perfectly. But i can't find any solution with javascript. What...

Why do images load but show as broken in drupal?

php,jquery,internet-explorer-8,drupal-7
I have to retrofit a modernly scripted Drupal image gallery to work in ie8. My workaround (to maintain client uploaded content) is to use PHP to read the directory to where the images are uploaded. Then spit out whatever is within. The following code is injected instead of the existing...

Strange setAttribute behavior in IE8 after Object extend

javascript,internet-explorer-8
I have the following code that I'm using to create a micro-library of sorts (similar to JQuery, but with only the stuff I need). window.$ = function(selector, context, undefined) { var getSelectorTest = function(selector, context, undefined) { var el; var selector_key = selector.slice(0, 1), matches = { '#': 'getElementById', '.':...

IE8 error on jQuery function “Expected identifier, string or number”

javascript,jquery,internet-explorer,internet-explorer-8,identifier
I am trying to wrap my head around this issue, but don't see what causes the error, I have following function that gets errors only in ie8 and due to this breaks all jQuery functionality as well as other JavaScript bits. (function is located inside app.js file) function visitorAges(category, number)...

div sorting with javascript or jquery?

javascript,jquery,html,internet-explorer-8
This is a 2 part question. 1)I'm looking to sort divs by alphabetical order, which someone helped me to do and it works on Firefox and Chrome, but it doesn't work in IE8 because you have to shim the arrays and I have no idea how to do that. A...

Using Angular 2 with older browsers thanks to TypeScript?

javascript,internet-explorer-8,internet-explorer-7,typescript,angular2
Since the Angular 2 team is using Typescript for it's build, would it be a feasible assumption that they could compile a version of Angular 2 that would work on older browsers? Thoughts?

How to create a new frame in IE8 using javascript?

javascript,html,internet-explorer-8
I have an html frameset <frameset name="home" id="home" ...> and I'd like to append a new frame to it using JS. So I wrote this piece of code: var newFrame = document.createElement("frame"); newFrame.id = "myNewFrame"; newFrame.name = "myNewFrame"; newFrame.src = "/myRelativeUrl.html"; var domFrameset = document.getElementById("home"); if (domFrameset) { domFrameset.appendChild(newFrame); }...

Javascript and Internet explorer 8 error

javascript,html,regex,internet-explorer-8
I have the following lines of Javascript: function SetTabIndex() { var test = document.getElementsByTagName("input"); for (var i = 0; i < test.length; i++) { var cssText = test[i].getAttribute('style'), tabindex = cssText.match(/tabindex\s*:\s*(\d+)/); if (tabindex) { test[i].setAttribute('tabindex', tabindex[1]); } } } When I run this locally, the script runs and does exactly...

Get List Of IE extensions inside IE extension

c++,internet-explorer,internet-explorer-8
I am trying to get list of all IE extensions present inside IE-8. along with installation date of extension, version and other information. The way i want to do this is Create a new IE extension and fetch list of all other extension in there. Is there any way in...

Prevent using IE8 with JAVASCRIPT

javascript,internet-explorer-8
Is there a way in JAVASCRIPT (not jquery) to stop navigating a webpage in IE8 ? ( if i use jquery, a error appears : SCRIPT5009: jquery is not defined.). In a company is still using IE8, They want to left behind little by little, so they need to send...

IE issue - Drop shadows cuts image by conteiner borders

html,css,internet-explorer-8,dropshadow,drop-shadow
I'm having a problem with IE8. I got a ribbon IMG over another. When I drop shadow the conteiner DIV of both IMGs, absolute positioned ribbon gets cut by conteiner borders. Here's the HTML: <div class="news shadow"> <img class="image" src=""> <img src="ribbon.png" class="ribbon"> </div> Here's the style definition: div.news{ position:relative;...

How to Debug IE8 “Abort Script Execution?” Alert

javascript,debugging,internet-explorer-8
The website runs well on all modern browsers. However, we try to achieve (for the moment) IE8 compatibility. Now, we get the following error alert: Abort script execution? The scripts loaded might slow down...etc [Yes] [No] How can I find out which script is causing this? Thank you...