On Jul 1, 6:16 pm, Ian R <i...@fairmountfair.com> wrote:

>
> $$('div.fp_YouTube').each(function(el)  {
>         var player = el.select('.player');
>         var playlist = el.select('.playlist');
>         playlist.select('li').each(function(video)      {
>                 console.log(video.id);
>         });
>
> });
>
'select' delivers a list of elements, not an element. I think you mean
 var player = el.down('.player')

etc.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to