Hi
Can someone please answer me a quick question which is taking too long to find on the net.
With prototype I can find elements easily by className or id but how do i find an element within a know element.
eg
$$(".someClass").each(function(elmt) { });
where I want to find elements of classname 'someClass' within an element already stored.
Many thanks in advance.
Can someone please answer me a quick question which is taking too long to find on the net.
With prototype I can find elements easily by className or id but how do i find an element within a know element.
eg
$$(".someClass").each(function(elmt) { });
where I want to find elements of classname 'someClass' within an element already stored.
Many thanks in advance.