On Dec 26, 7:02 am, "E. Nadir" <elasri.na...@gmail.com> wrote:
> Hello,
>
> Is there a way to get the background color of the parent of an element
> with Prototype ?

That would be:
$(element).up().getStyle('backgroundColor');

>
> Thanks :)

--
kangax
--~--~---------~--~----~------------~-------~--~----~
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