Although this is less than ideal, I've worked around this setting the initial values within a try/catch. The error thrown from jquery seems to be harmless as the initial values of the slider are still set.
On Apr 23, 11:08 am, ara818 <[email protected]> wrote: > I'm upgrading our codebase from UI 1.5.2 to 1.7.1 and have run into a > showstopper problem in IE6 and 7 that I can't seem to figure out. > > We're using a range slider, with no UI themes and custom handle > images. In fact the version of this slider that works just fine in UI > 1.5.2 is usable here:http://www.forsalebyowner.com/search?szLocation=chicago > > When trying to set the initial values of the sliders like so: $ > ('#priceSlider').slider('values', 0, currMinPrice); > I keep getting an "Invalid Argument" error from IE6 and 7. This same > example in UI 1.5.2 worked just fine and Firefox and Safari work just > fine in UI 1.7 and UI 1.5. > > I traced the problem to the setting of "left" and "width" css values > on certain slider related elements (I can't tell which). > I further traced the problem to the following code in jquery 1.3.2 > (around line 1062): > if ( set ) > elem[ name ] = value; > > So it seems that it's trying to a value that IE doesn't like and so > it's failing. > > Has anyone had this problem or has any insight as to how to solve it? > Preferably I'd like not to alter jquery or jquery UI library code to > fix it. > > Thanks, > Ara --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
