IE7 support

bleen18 - October 14, 2007 - 01:53
Project:jQuery UI Backport
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Has this module been tested in IE7? I receive a 'object expected' error on

var x = $ui('#id');

#1

bleen18 - October 17, 2007 - 02:39

the error I received (IE7 only) was on line 5969 of jquib.js ... commenting out the entire "slider" block of code solves the problem for the moment

#2

emackn - November 30, 2007 - 05:38

i commented out the slider block but then started getting M"S runtime error: 'getElementById' is Null or not an object"

joy!

update: the runtime error was from something else. Isolating out everything else not needed got everything working fine in my test setup.

#3

febbraro - December 26, 2007 - 19:46

In IE7 I was getting "Expected identifier, string, or number" on line 5969 of jquib.js

The reason for the error is explained here: http://cow.neondragon.net/index.php/1404-Internet-Explorer-Javascript-Er...

I had to edit jquib.js and on line 5968 I changed:

change: function(e, ui) { cur[0].value = ui.value; cur[0].setAttribute("value", ui.value); },

to

change: function(e, ui) { cur[0].value = ui.value; cur[0].setAttribute("value", ui.value); }   //no trailing comma

and that fixed my problem. I'm guessing that it is actually a problem with jQuery UI slider.js file, but this fix works.

#4

febbraro - December 26, 2007 - 19:49

Looks like as of 12/26/2007 jquery.slider.js is fixed in their SVN repo, but not in the download.

#5

Rowanw - February 24, 2008 - 01:15

Thanks febbraro, removing the comma on line 5968 fixed my UI Tabs issue in both IE7 and Opera.

#6

Rowanw - February 24, 2008 - 01:17
Category:support request» bug report
Priority:normal» critical

Updating issue.

#7

starbow - July 21, 2009 - 21:16
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.