Boy, I'm not looking forward to $.browser.msie being removed. I use that all the time to add class definitions to fix CSS issues in IE.
On Mon, Jan 12, 2009 at 9:03 AM, Jörn Zaefferer <[email protected]> wrote: > Nevermind, got it all fixed. > > Jörn > > On Mon, Jan 12, 2009 at 1:14 PM, Jörn Zaefferer > <[email protected]> wrote: >> Forgot to mention: version.txt has RC2 already, I did a local build to >> get the latest fixes. >> >> Anyway, that wasn't my problem anyway. $.browser is deprecated just >> now, so I can worry about removing that later. >> >> Jörn >> >> On Mon, Jan 12, 2009 at 12:32 PM, Ariel Flesler <[email protected]> wrote: >>> >>> Isn't it RC1 yet ? >>> >>> The $.browser removal is a hard one. I fixed it on one plugin already >>> as "if( document.attachEvent )" of course that doesn't move to feature >>> detection, but sometimes you just want to know if it's IE, no feature >>> related. >>> >>> -- >>> Ariel Flesler >>> http://flesler.blogspot.com >>> >>> On Jan 12, 8:29 am, "Jörn Zaefferer" <[email protected]> >>> wrote: >>>> I'm currently adapting the validation plugin to 1.3 RC2, aiming for a >>>> new release before 1.3 is out. The obvious problem, usage of >>>> deprecated [...@attr=val] selectors was easy to fix. >>>> >>>> Another issue I couldn't fix yet is selecting options. I'm using these >>>> lines to validate if enough options have been selected: >>>> >>>> var options = $("option:selected", element); >>>> return options.length > 0 && ( element.type == "select-multiple" || >>>> ($.browser.msie && !(options[0].attributes['value'].specified) ? >>>> options[0].text : options[0].value).length > 0); >>>> >>>> It seems like $("option") in 1.3 RC2 returns only a single option on >>>> my testpage, causing all tests related to selects to fail. Is there an >>>> alternative that I can use that also works with 1.2.6? >>>> >>>> There are more which I haven't yet pinned down... >>>> >>>> Jörn >>> >> >>> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
