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 |
Jump to:
Description
Has this module been tested in IE7? I receive a 'object expected' error on
var x = $ui('#id');

#1
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
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
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 commaand that fixed my problem. I'm guessing that it is actually a problem with jQuery UI slider.js file, but this fix works.
#4
Looks like as of 12/26/2007 jquery.slider.js is fixed in their SVN repo, but not in the download.
#5
Thanks febbraro, removing the comma on line 5968 fixed my UI Tabs issue in both IE7 and Opera.
#6
Updating issue.
#7