Nevermind, got it all fixed.

Jörn

On Mon, Jan 12, 2009 at 1:14 PM, Jörn Zaefferer
<joern.zaeffe...@googlemail.com> 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 <afles...@gmail.com> 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" <joern.zaeffe...@googlemail.com>
>> 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 jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to