Menu
  • HOME
  • TAGS

jQuery tablesorter - IE8 issue with adding style to table row

javascript,jquery,css,internet-explorer-8,tablesorter

Can add td to rule .tablesorter tbody tr:nth-child(odd) td{ background-color: #faf4e2; } Or .tablesorter tbody tr:nth-child(odd), .tablesorter tbody tr:nth-child(odd) td{ background-color: #faf4e2; } Or Add an IE conditional comment around a style tag that adds the td rule so it only takes effect in IE < 9...

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

javascript,jquery,internet-explorer-8

The method "indexOf" is not part of IE8's array methods. You should be able to quickly remedy this with jQuery.inArray: http://api.jquery.com/jQuery.inArray/ Change: states.indexOf($("[name='payToBankState']").val()) < 0 To: $.inArray($("[name='payToBankState']").val(), states) < 0 ...

div sorting with javascript or jquery?

javascript,jquery,html,internet-explorer-8

I fixed the sorting for IE (all versions), plus I added a sorting mechanism for IE8. (The IE8 solution should work in all browsers though). var VanillaRunOnDomReady = function() { var main = document.getElementById( 'main' ); if (Array.prototype.map && Array.prototype.forEach) { //this funky bit can be done by all modern...

Prevent proxy reassignment

windows,windows-7,internet-explorer-8,gpo

It is indeed likely you have encountered a Group Policy Preference (GPP), an optional part of the GPO system. These GPP are applied either on parameter change (on the side of the central admin) or on every regular GPO refresh - but between these, the end-user is free to change...

Making a CSS3 family tree IE8 compatible

jquery,css,css3,internet-explorer-8

The issue causing the extra borders is that unlike :first-child, the :last-child pseudo-class is not available in IE8 and below. The presence of this unrecognized selector invalidates the entire rule, causing IE to drop the following rules. /*Remove left connector from first child and right connector from last child*/ .tree...

Getting rid of progress indicator in status bar on ie8

javascript,internet-explorer-8

Alright, after some trial and errors I think I finally figured out how to trick ie8 to think it's done loading. I'm sure there might be other more elegant solutions out there, which I would be happy to hear about. In the web page root root I created an empty...

Why does my Javascript break in IE8?

javascript,jquery,internet-explorer-8

The IE versions before IE9 does not support .indexOf() function for Array As an alternative you can use jQuery.inArray(). Something like this: if (!Array.prototype.indexOf) { Array.prototype.indexOf = function(val) { return jQuery.inArray(val, this); }; } ...

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

javascript,jquery,internet-explorer-8

The issue in your code is you're calling map() on array object but it's introduced in ES5 which IE8 doesn't support. In case you want to use map, try JQuery's map utility.

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

You can't cover IE8 in pure CSS, because it does not support neither final nor vendor-prefixed implementation. IE9 will support it just fine. You can see full support table here: http://caniuse.com/#search=border-radius So based on this table, to answer your question, you won't need -ms-... for IE10 and -o-.. for Opera....

excanvas refusing to work in IE8 despite executing in load event

javascript,html,charts,internet-explorer-8,excanvas

So I ultimately found the fix for why it (getContext) wasn't working. A few things My conditional comment for including excanvas wasn't correct. Outside that, mine didn't have the support for certain functions called on the canvas element by chart.js, so an update to the excanvas.js fixed that issue. I...

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

javascript,html,css,internet-explorer-8,media-queries

Set up the viewport. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" /> Put the css in an external file and link to it. <link rel="stylesheet" href="/public/demo.css" /> And take out the only keyword and change to min-width. @media screen and (min-width : 773px) { //instead of (max-width:1320px) } And that should...

ie8 Expected Identifier error - Angular

javascript,angularjs,internet-explorer-8

IE8 doesn't support reserved words as literal object properties. Use $scope['delete'] instead....

Making postMessage() and addEventListener() compatible with IE8

javascript,internet-explorer-8,addeventlistener,postmessage

You are missing the "on" window.attachEvent("onmessage", receiveMessage); ...

How to Debug IE8 “Abort Script Execution?” Alert

javascript,debugging,internet-explorer-8

I use IE-11. It has emulator to check your website on older versions (inside developers tool). if an error occur in some stage it shows in console.

Strange setAttribute behavior in IE8 after Object extend

javascript,internet-explorer-8

Instead of attaching the attr() function to the selected element (which IE8 apparently interprets as setting an attribute on the element itself) you might have better luck attaching it to the prototype of the Element object. Element.prototype.attr = function(name,value){ ... ...

Binding click event to ie8 $window in angularjs

angularjs,internet-explorer-8,onclick

It's because your alert is being fired right away, wrap it in a function: function bindEvent() { if($window.addEventListener){ $window.addEventListener('click', function(){ alert('Hi') }, false); } else{ $window.attachEvent('onclick', function(){ alert('Hi ie8') }); } } ...

jQuery's closest doesn't work in IE8/9

javascript,jquery,internet-explorer-8

You're right! I don't know why, but it worked now! Sorry and thanks! Outcome: closest() works fine in ie8/9. Tested on jQuery 1.6.

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

javascript,jquery,internet-explorer,internet-explorer-8,identifier

So, as I said in my comments, IE requires keywords to be wrapped in quotes when they are not used as keywords, such as the one below. Notice the keywords for, class etc. var $ageLabel = $('<label/>', {for: 'visit_'+category+'-'+i+'_age', text: category+' '+i}); var $ageSelect = $('<select/>', {name: 'visit_'+category+'-'+i+'_age', id: 'visit_'+category+'-'+i+'_age',...

CSS background not showing IE 8 and earlier

html,css,internet-explorer,background,internet-explorer-8

background-size: cover; is a css3 property so it will not work in IE8 or earlier versions.Better try to achieve it using image tag like this: Your header html code <header> <center> <img src="images/fraluften.png" class="backgroundClass"> <img src="images/scrolldownB.png" id="scrolldownB" style="display: inline;"> </center> </header> CSS for backgroundClass .backgroundClass{ display: inline; height: 700px; position:...

jQuery working on Firefox but partially on IE8

jquery,firefox,internet-explorer-8,compatibility

Finnally, This solution is working : $('select').change(function(){ Thanks for help...

Is script type text/javascript required for IE8?

javascript,internet-explorer-8

The type attribute is optional if you use HTML5 and pass the proper doctype <!doctype html> Unfortunately, IE8 doesn't recognize this doctype so in theory it should require the type attribute specified. Fortunately, no one follows that particular standard, so running this code <!doctype html> <html> <head> <script> alert('It works!');...

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

javascript,iframe,internet-explorer-8

Older IE doesn't have textContent. It has innerText, but for script elements you use text instead. Separately, document.head isn't automatically provided on IE8; use document.getElementsByTagName('head')[0] instead. With those two changes, this works on IE8, IE11, current Chrome, and current Firefox: (function () { var pdoc = parent.document; var dest =...

IE8 vs IE8 compatibility mode inset border CSS issue

css,internet-explorer-8,ie8-compatibility-mode

By declaring only the "style" property, the browser uses his fallbacks for width (1px) and color (black). You have to set all the border properties: #div { border: 3px inset grey; clear: both; } ...

Django CMS bootstrap navbar always collapsed in IE8

django,twitter-bootstrap,internet-explorer-8,django-templates,django-cms

Had to add respond.js to page, but i thought the cms and django would take care of that

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

internet-explorer-8,icons,webfonts,icon-fonts,fontello

I have the same problem and found absolutely nothing on the internet. So I tried my own way and found a solution. It's rather long to do, but at least it seems to work. In Fontello, after choosing your icons, go to Customize Codes and give them a known character....

element.attributes in IE8 has too many items?

javascript,jquery,html,internet-explorer-8

For anyone interested - I found the problem. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> This caused IE8 to load the document in "Quirks Mode" and this is what caused the problem....

How to stop Knockout 3.2 library loading twice

javascript,jquery,knockout.js,internet-explorer-8

I finally got this figured out. The issue was the order that the scripts were listed in the page. ASP.NET MVC 5 supports renderable named sections. In this case scripts: Layout - @RenderSection("scripts", required: false) Views/Partial Views - @section scripts { // script includes ... } In my case a...

Internet Explorer 8 error, Object Required (JavaScript)

javascript,internet-explorer,internet-explorer-8

Make sure you do the inItemText assignment after the DOM has been loaded. Otherwise, document.getElementById("inItemText") won't find the element, because it doesn't exist yet. Either put it at the end of the <body>, or use window.onload: var inItemText; window.onload = function() { inItemText = document.getElementById("inItemText"); }; ...

Angular Routing Causes Infinite Loop In IE

javascript,angularjs,internet-explorer-8

This is a combination of 2 issues. Number one, change $locationProvider.html5Mode(true); to $locationProvider.html5Mode(false); Betty in the comments is correct, there is an issue with IE using this for older versions. In addition to this, you need to create a new route for just /. If you're having issues with angular...

Using Angular 2 with older browsers thanks to TypeScript?

javascript,internet-explorer-8,internet-explorer-7,typescript,angular2

Angular 2 will only support modern browsers: Modern browsers means the set of browsers known as ‘evergreen’ or always automatically updated to the latest version. Building for these browsers let us drop many hacks and workarounds that make AngularJS harder to use and develop on than it needs to be....

Hide div not works in IE8

javascript,jquery,internet-explorer-8

As you are using jQuery, you can use .hide() and .show() functions of jQuery. modify your function as below <script> function showhide(id){ $('#'+id).show(); $('#'+id).siblings('.hide').hide(); } </script> API Document for siblings...

Javascript Date parsing NaN in IE8

javascript,internet-explorer-8

Not a direct solution yet reasonable suggestion in my opinion: Moment.js this will cover datetime parsing and manipulation for you.

Any workaround for the 32KB limit on data:uri in IE8?

javascript,html,internet-explorer,internet-explorer-8,data-uri

I would suggest avoiding the use of BMP entirely - use JPEGs instead. You'll get much smaller file-sizes and far better performance. Not to mention, you'll come in under that 32kb limit more often than not. In the cases where 32kb is still not enough, it's often times the case...

How to rotate and translate using CSS in IE8?

css,internet-explorer,internet-explorer-8

I haven't figured out how (or if I can) do the translation alongside the rotation using -ms-filter, but I managed to achieve my goal using good old margin. At first I thought that I can simply use the \9 hack to target IE8, but unfortunately it not only affects IE8...

log4javascript IE8 unexpected error “Fonction attendue”

javascript,internet-explorer-8,log4javascript

log4javascript does support IE 8. The problem is that this is incorrect in the call to log.info, which expects to be called as a method and hence have a reference to log as the value of this. I suggest fixing it by passing in the logger object to your IIFE...

Override responsive queries for IE8

jquery,internet-explorer-8,responsive-design

Are the media queries in a separate CSS file? If so, you can just wrap conditional tags around the CSS link. <!--[if gt IE 8]><!--> <link rel="stylesheet" href="css/mediaqueries.css"> <!--<![endif]--> ...

IE8 'required' radio buttons

internet-explorer-8,required

Internet Explorer 8 does not support the [required] form attribute. Support for this attribute was not added in Internet Explorer until version 10. In order to provide similar functionality downlevel, to older versions of Internet Explorer, I would encourage you to use something like jQuery Validation, a well-trusted and time-tested...

Vanilla JavaScript CORS request with XDomainRequest in IE8 not working

javascript,ajax,internet-explorer-8,cors,xdomainrequest

Internet Explorer's XDomainRequest will never send the Cookies or Authorization headers. This means that if the target of your request is protected, the request can never be authenticated. If you really have to do this (I had to do this in the past for native HTTP streaming) you need the...

Implement event delegation from document body by default

jquery,ajax,internet-explorer-8,magnific-popup

Seems like the right solution would be to call your functions in the ajax callback block. You'd put your behaviors in a named function, which can be loaded about anywhere: function myFunction() { $('.myClass').click(function() { ... }); } And then call that after the new file is loaded via ajax:...

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

internet-explorer,internet-explorer-8,migration,richfaces,atmosphere

The problem was missing setting for all filters taking part in communication. Strange that only Internet Explorer requests couldn't be handled....

How to make a div element fixed?

html,css,internet-explorer-8

IE 8 does funny things with fixed - check out Position fixed and Internet Explorer, or google "ie8 position:fixed"

Get List Of IE extensions inside IE extension

c++,internet-explorer,internet-explorer-8

There a number of different types of 'extensions' in IE. Toolbars, BrowserHelpers, accelerators, searchProviders, menu and context menu extensions. These in turn can be scripted, COM based or PE file types. The registry paths for each type of extension is documented on MSDN....

Alternative to array.some() method?

javascript,jquery,internet-explorer-8

You can add your own some method if (!Array.prototype.some) { Array.prototype.some = function (func) { for (var i in this) { if (func(i)) return true; } return false; }; } ...

Jvector Map Not Working prepare IE8?

javascript,html,css,internet-explorer-8,jvectormap

This is like the fifth time you're asking the exact same question? I've answered it in the comments, and you keep asking the same thing, with the same code, here Jvector Map Not working correctly IE 8? and here, different user, but exact same code Jvector Map not working when...

Issue with z-indexes within an iframe

jquery,css,iframe,internet-explorer-8,z-index

Update: I didn't think it was possible for an iframe to be causing these inconsistencies, turn's out it isn't... Our existing app displays in compatibility mode by default, which turned out to be the root cause of this issue in IE. On the off chance someone else has this same...

Plupload not working with internet explorer 8/9

json,spring-mvc,internet-explorer-8,plupload

Using Fiddler I checked HTTP request/response and observed that IE 8/9 were sending Headers - Accept:*/* . While other browsers were sending Accept: application/json . So, I added below option in js code : headers:{Accept : "application/json; charset=utf-8"}, and reverted the earlier changes that I made for IE 8/9 i.e....

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

internet-explorer,d3.js,internet-explorer-8,invalid-argument

Looking at R2D3 source code, its using an the addEventListener method which is only supported starting from IE9: https://github.com/mhemesath/r2d3/search?utf8=%E2%9C%93&q=addeventlistener https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addEventListener R2D3Element.prototype.addEventListener = function(type, listener) { this.domNode.childNodes[i].r2d3.addEventListener(type, listener); } This explains why it crashes on IE8...

Why do images load but show as broken in drupal?

php,jquery,internet-explorer-8,drupal-7

You missed the / at the start of the string: echo '<a name="'.$i.'" href="#'.$i.'"><img src="/'.$files[$i].'" /></a>'; The image urls should start with / since you need absolute paths....

How to create a new frame in IE8 using javascript?

javascript,html,internet-explorer-8

After one day of research and no responses I was convinced there was no solution for this issue. But finally I've come up with a solution that solves the problem: When working with <frameset> and <frame>, you need to apply a rows attribute to the frameset in order to display...

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

javascript,jquery,html,css,internet-explorer-8

You should avoid all user-agent sniffing, unless it is absolutely necessary. In this case, it is not necessary. If you wish to load a custom stylesheet for Internet Explorer 8, use the features provided by the browser itself, namely Conditional Comments: <head> <!--[if IE 8]> <link href="/css/MSIE8.css" rel="stylesheet" id="MSIECSS8" />...

How to override content css property to not to use it on IE8?

html,css,internet-explorer-8,cross-browser,font-awesome

I would add the gif background to #loading in ie.css and simply hide the FontAwesome spinner with #loading i { display: none; } This approach will likely be more reliable than trying to surgically override a single property from FontAwesome....

Code not working in internet explorer 8

html,css,internet-explorer-8

You have HTML comment in your CSS code, that can break on IE8 : <!-- css for styling the button to make it appear as a link instead --> button {background:none!important; border:none; padding:0!important; /*optional*/ font-family:arial,sans-serif; /*input has OS specific font-family*/ color:#069; text-decoration: none; cursor:pointer; } body { background-color:white; } block1{display:block;...

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

javascript,d3.js,internet-explorer-8,tree,wrap

Hy, I think, you can't create next line with excess text. However, you can use tspan element inside text element like: <text y="10"> <tspan x="10">tspan line 1</tspan> <tspan x="10" dy="15">tspan line 2</tspan> <tspan x="10" dy="15">tspan line 3</tspan> </text> see tspan element...

IE8 :active selector not working if child is clicked

css,internet-explorer-8

In Internet Explorer, the :active pseudoclass doesn't propagate upward through parent elements. You can see a reduced case here that better illustrates the problem: http://jsfiddle.net/zx7w346u/2/. This issue has been fixed in Microsoft Edge, Internet Explorer's successor. ...

Internet Explorer 8 delay between pressing the button

javascript,html,internet-explorer,internet-explorer-8

There is definitely a latency issue in Internet Explorer 8. Somewhat in line with what Oscar stated in his answer, the dblclick event may be eating up some of the clicks. If this were the case, we could expect that incrementing during that even would eradicate the problem. Sure enough,...

Simple dropdown not working on IE8

jquery,drop-down-menu,internet-explorer-8

Okay, there are a few things here. You should not use id as a flag. Because, the numeric value you are setting for id doesn't work in IE browser! Instead of that, use data-* attributes, or best, use a class! And if you are just using .mouseup() and .mousedown for...

Bootstrap and IE9/8 - making me crazy

twitter-bootstrap,internet-explorer,internet-explorer-8

I'm not sure what your question is, but from checking the link I see a tag written like so in the top menu: <!--li> <a href="medelhavet" class="medelhavet" title="Hyr en yacht i Medelhavet">Medelhavet</a> </li> This: <!--li> effectively comments out your content from then on, all the way down to the bottom...

RewriteCond “except for directory” failing in complex rule set

apache,.htaccess,mod-rewrite,internet-explorer-8

The RewriteCond %{REQUEST_URI} !^/api/.* was working, the problem was a later rewrite routing everything through a front controller /index.php was causing the htaccess to reparse. Changing the rule to RewriteCond %{REQUEST_URI} !^(/api/|/index.php) solved the problem. the front controller, index.php isn't callable directly anyway, so it's not an issue....

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

internet-explorer-8,yui,liferay-aui,alloy-ui

Ok this is WAY more simple than i thought. For some reason all the modern browsers (including IE9) don't have any problems when you initialize Alloy UI with : YUI({ lang: 'ca-ES' }).use( 'aui-node', 'aui-datatable', 'aui-pagination', 'datatype-date', function(Y) {... But IE8 (of course) will give you a series of really...

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

You can access the clipboard content with window.clipboardData.getData('Text') And manipulate it as necessary before placing it in the textbox. Be sure to return false or the paste event will fire and replace what you did. To access the current value, read the innerText value of the textarea. To get the...

My jquery only works in console

jquery,html,internet-explorer-8

I found out one solution myself. Posting the answer for others. This is the solution: var twitterLinkShortTimerCount = 0; function setTwitterLinkShortCssClass() { // Check if any content if($('#twitter-feed').html().length > 0) { $("#twitter-feed ul li .info .tweet a span:nth-child(2)").addClass("twitter-link-short"); } // If there is still no content else if(twitterLinkShortTimerCount++ < 1000)...

IE8 changing GET request to POST: Angular $http

javascript,angularjs,http,internet-explorer-8,xmlhttprequest

I think I have found the solution. We need to send empty string as payload. Or, use $http.get

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

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0002b0fd', endColorstr='#028dca',GradientType=0 ); will give you IE6-9. Using: http://www.colorzilla.com/gradient-editor/ ...

resize event triggers only when manually resizing browser window on ie8

javascript,css,internet-explorer-8,caroufredsel

Okay, i finally found that this function does exactly what i've needed - carousel.trigger('updateSizes'); (when initialising a plugin you have to assign it to a variable, in my case it's carousel) it recalculates the dimensions of carousel, strange thing that it does not trigger when i've tried all the previous...

IE8 issue with Bootstrap 3 and testing in IE emulation modes

twitter-bootstrap-3,internet-explorer-8,warnings,ie8-compatibility-mode

I found it! It's this file who generate the warning alert : <script src="{{ asset('bootstrap/js/ie-emulation-modes-warning.js') }}"></script> I just remove it and it works....

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

html,css,svg,internet-explorer-8,compatibility

It's known that IE has some issues with .svg. it's recommended to use a fallback while working with .svg check this tutorial, will help you a lot.

Menu CSS issue in IE8

css,drop-down-menu,internet-explorer-8

Remove float: left from the links in the menu. This will cause those links to fill the entire row, and the ul of the submenu will not be shown next to it. To counter that gap that causes, remove the margin-top from the submenu ul. That should do the trick,...

Placeholder value didn't work in IE8

javascript,jquery,html,css,internet-explorer-8

Use THIS plugin. Check demo of placeholder here HERE-> Use this Code <!--[if lte IE 10]> <script type="text/javascript" src="http://linux.aress.net/smudev/js/nwxforms.js"></script> <script type="text/javascript">window.onload = Function('nwxforms(this)');</script> <![endif]--> Take JS from my website. I suggest you to take JS file from here HERE. And then put in your folder and use relative path like...

Issues in css floating property in IE8

html,css,internet-explorer-8

IE8 does not support media queries. You're code is mobile first and so because the media queries aren't firing, the layout is the mobile styles. Take a look at RespondJS for media query support in IE8....

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

html,css,internet-explorer,iframe,internet-explorer-8

<!DOCTYPE html> <html> <head> <style type=text/css> html,body{ padding:0;margin:0 } html{ height:100%; } body { display:table; width:100%; height:100%; position:relative; background-color:lightcoral; } .row{ display:table-row; height:100%; /*width:100%*/ } .iframeContainer{ /*height:100%;*/ /* use h+w instead of positioning below if outer (coral) frame is undesired */ /*width:100%;*/ /*display:table-cell;*/ position:absolute;top:0;right:0;bottom:0;left:0;margin:1em; } iframe{ width:100%; height:100%; border-style:solid...

Font Face issues in Internet Explorer 8

css,internet-explorer,fonts,internet-explorer-8,font-face

Yes it's an issue with IE - for IE8 and below - one solution is to separate out the links for each font in a conditional statement - it doesn't like long font stack trace in the link attribute. <!--[if lte IE 8]> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Tangerine" /> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans"...

Styling Text Elements in Internet Explorer 8

css,internet-explorer,internet-explorer-8

The text tag is no defined standard. To add a paragraph use the p tag please. I did inspect the tag in IE 8 and as it seems is the tag directly closed without text within. So you just need to use an allowed tag like p <p class='boldText title'>...

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

javascript,jquery,checkbox,internet-explorer-8

In checkRow event in first way,your variable called item do not declare.So firefox works well but IE8 can not work.

Internet Explorer 8 Compatibilty jQuery

javascript,jquery,internet-explorer-8

You can use jQuery instead of $, leading to jQuery(document).ready(function() { jQuery('.revslider').revolution( { ... Also note that jQuery 2.x doesn't support IE8 - see here. You need to use jQuery 1.x for support of IE6+. Also check if you include your scripts correctly - see this question: How does $(document).ready()...

IE8 Object Expected error when object contains null value

javascript,json,object,internet-explorer-8

First, there is a problem with the logic used to detect null values: if (typeof obj !== 'object' && (typeof obj !== 'function' || obj === null)) { throw new TypeError('Object.keys called on non-object'); } If obj is null, then typeof obj will be "object". Try this instead: if (typeof...

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

javascript,twitter,internet-explorer-8,browser-feature-detection

The reason why you can't just test it with a try-catch statement is that syntax errors are "early errors" in JavaScript, which means that the error is thrown immediately without even attempting to execute the code. (See What types of errors are caught by try-catch statements in Javascript? for a...

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

jquery,internet-explorer-8

See my comment, You are using different object first jQuery in ready document and then $ in var define. and try this, may help you jQuery(document).ready(function() { var s = jQuery("#sidebar_holder"); // make this same as used before.. s.attr("style", ""); //kill absolute positioning s.addClass("stick"); //stick it You are using different...

Hard pro coding - strange error in IE8

javascript,html,internet-explorer-8,mustache,template-engine

As it seems IE8 detects the linebreaks as \r\n but you didn't escape the \r Escape \r too...

Exclude mmenu in IE8

internet-explorer-8,mmenu

I've found the solution for this.. I wrapped it in the following code. if ((document.documentMode || 100) > 8) {....}; Reference: http://stackoverflow.com/a/2202545/2440296...

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

javascript,jqgrid,internet-explorer-8

A BIG BIG thanks to you @oleg. It is all working fine now after i added the site to the Trusted sites zone in Internet Explorer Setting. Trusted Sites Zone This zone contains Web sites that you trust as safe (such as Web sites that are on your organization's intranet...

IE issue - Drop shadows cuts image by conteiner borders

html,css,internet-explorer-8,dropshadow,drop-shadow

I don't know what your ribbon or image classes look like in the css, but you can add the shadow class to the main image rather than the news container. <div class="news"> <img class="image shadow" src="block.png"> <img src="ribbon.png" class="ribbon"> </div> This is how my example looks in ie8 on win7:...

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

javascript,jquery,input,internet-explorer-8

You are not calling the function! Either call it on $(document).ready() like this: $(document).ready(function(){ numberValidation(); }); Or, give this in the $(document).ready() instead: $(document).ready(function () { $("#txtboxToFilter").keydown(function (e) { // Allow: backspace, delete, tab, escape, enter and . }); }); Snippet $(document).ready(function () { $("#txtboxToFilter").keydown(function (e) { // Allow: backspace,...

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

javascript,internet-explorer-8

This is expected (somewhat) behaviour. From the MDN: If separator is a regular expression that contains capturing parentheses, then each time separator is matched, the results (including any undefined results) of the capturing parentheses are spliced into the output array. However, not all browsers support this capability.) Delete the parentheses...

Using OpenLayers 3 in IE8 (canvas issues)?

javascript,canvas,internet-explorer-8,openlayers,openlayers-3

OpenLayers 3 has a define ol.LEGACY_IE_SUPPORT which you will need to set to true in a custom build to support IE < 9. Then you will need to use the DOM renderer but this won't support vector layers. More info on custom builds can be found here: https://github.com/openlayers/ol3/tree/master/tasks

Watir - Cannot get through basic authentication on IE8

ruby,internet-explorer,internet-explorer-8,watir,watir-webdriver

Ok, using a bit of a hack but it works consistently for me. I'm using a simple Wscript.Shell SendKeys method. See below: `start #{theURL]` loginDialog = WIN32OLE.new('Wscript.Shell') loginDialog.AppActivate('Connect to #{ip}') sendKeys = "#{userName}{TAB}" loginDialog.SendKeys(sendKeys) sleep(1) sendKeys = "#{password}{TAB}{ENTER}" loginDialog.SendKeys(sendKeys) ...

IE8 Conditional Style sheet affecting all IE

html,css,internet-explorer,internet-explorer-8

My understanding is you want to target all the old IEs including IE8, so lte IE 8 (lower/equal) would work. You can also merge that lt IE 9 into the above one actually, like this: <!--[if lte IE 8]> <script src="bootstrap/js/html5shiv.js"></script> <script src="bootstrap/js/respond.min.js"></script> <link rel="stylesheet" href="css/ie8.css"> <![endif]--> For debugging, you...

CSS border and padding not working in IE 8 + 9

jquery,html,css,internet-explorer-8

This is not only IE 8+ issue but it won't work in any browser. You can't have padding in table rows. Instead you need to add the padding styles in your td. And I can't see that you're appending any td in your code so I could modify that. Thus,...

Prevent using IE8 with JAVASCRIPT

javascript,internet-explorer-8

You can put scripts inside tags like this. These tags say run these scripts on versions of Internet Explorer that are below 9. So, you could write a script that posts a notice on your page about using outdated browsers. <head> <!--[if lt IE 9]> <script src="outdated-browser-notification.js"></script> <![endif]--> </head> ...

Javascript and Internet explorer 8 error

javascript,html,regex,internet-explorer-8

In Internet explorer 8 JScript regular expression bug the following answer was given: The issue here was that "\s" in javascript does not include a non breaking space in IE but includes a non breaking space in FF. ...

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

actionscript-3,flash,internet-explorer-8,swf

Disabling the parts of the user interface that the users are using a lot is a very bad idea. Instead, simply use the browser buttons for navigation. SWFAddress let's you do that You can have deep linking, too. (allows users to send a link of where they are to other...

Knockout multiple click bindings do not work with IE8

javascript,jquery,knockout.js,internet-explorer-8

Apologies for slightly incorrect example but I had missed one level of nesting. My example is not a true reflection of my complex model and implementation but I worked out the cause of the problem. My Cart in this example has a selectedItem property (an observable) of type object that...

Associative Array Internet Explorer 8/9

javascript,arrays,internet-explorer-8,internet-explorer-9

I'm not sure of the bug in IE you're describing, but making your type checks explicit would be a good start: if (typeof obj[name] === 'undefined') { // do stuff } The typeof operator is guaranteed to return a string representing the object type, whereas your type check is potentially...