I'm not sure what jQuery's .find does, but you can use #reject to find all "hidden" elements (since prototype.js only supports "standard" selectors): $$('.class').reject(Element.visible) Note that since Element.visible only checks actual element's style, it will skip any elements which have "hidden" parents.
-- kangax On Jul 6, 12:13 am, Zell <[EMAIL PROTECTED]> wrote: > Hey thanks!! it really helped me a lot!... > > One mor thing, have anyone knows...how to tell lik...$$ > ('.class:visible').not($(this).find('div'); > > in prototype, i know that there is a function that is findElement(); > but..i do not know if there's something like the .not(); that has > jquery... and i'm changin to prototype :D > > thanks a lot --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---