The following code:  var borderTds = document.getElementsByClassName('leftborder');   gives me an error message in Internet Explorer 6, 7 and 8:      Object does not support this method   How can I select elements by their class in these br...
I have some code doing this :   var changes = document.getElementsByName(from);  for (var c=0; c<changes.length; c++) {    var ch = changes[c];    var current = new String(ch.innerHTML);    etc.  }   This works fine in FF and Chrome but not in I...
I'm parsing a date from a JSON event feed - but the date shows "NaN" in IE7/8:  // Variable from JSON feed (using JQuery's $.getJSON) var start_time = '2012-06-24T17:00:00-07:00';  // How I'm currently extracting the Mon...
It works in IE6, and FireFox; but for some reason not in IE7.  Using ASP.NET on the Page_Init I populate a list of chapters that are links to the image in the book as well as a javascript array which holds the pageIDs.  ex.  Chapter 1 --> href=...
I was creating a form validator for a client and ran into this weird error ONLY in Internet Exploder (Explorer) 7/8....  'return' outside of function, line 1, char 1  Of course, there was no code whasoever on line 1, it was a simple commented...
With the code from this article I've successfully added querySelectorAll to document in IE7.  But I need to use it on an element rather than document, like this:  var containers = document.querySelectorAll('.container');   // Works for (v...
Once I upgrade AngularJS from 1.0.7 to 1.2.0rc1 I get the following error:  [$sce:iequirks] Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode    I have already added <!doctype html> but to no avail.  I...
I want to use Evan Elliott's code (below) to remove accents in strings but its returns an "a" instead of the respective vanilla version of each character. I declare <meta charset="utf-8"> at the top of my page.  function Nor...
I am trying to split with this regex ({[^{}]*}) in javascript and I get different result btw IE7 and FF. The firefox result is the right one.  <style> .box.round {     border-radius: 10px; } </style> <script> jQuery(function ($) {...
I have a few pages on a asp.net MVC 3 site that cause IE6 and 7 to prompt "Unable to load page" after loading the menu. I have been able to troubleshoot this down to the following DateTimePicker script:  <script type="text/javascript&#...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.