On Thu, May 15, 2008 at 9:37 AM, AJS <[EMAIL PROTECTED]> wrote:
>
> But it doesn't seem to work if I use $(this).select… ?

That's because select /always/ returns an array. So you can use
select, you just have to make sure you access the array element,
something like $(this).select('span')[0].show() or
$(this).select('span').first().show().

Alternatively, you can use down, which grabs the first element it
finds matching the selector. Thusly: $(this).down('span').show().

:Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to