Hi,

> I am looking for some guidance on how to achieve a simple objective. I
> have multiple <DIV> elements on a page, and within each <DIV> there
> are 4 <A> elements. Within each <A> there is an <IMG>. My goal is to
> apply a class to each of these <IMG> upon rendering the page.
>

the above post has a typo. The bit that says "My goal is to apply a
class to each of these <IMG> upon rendering the page" should read as
"My goal is to
apply a class to the first <IMG> within each of these <DIV> upon
rendering the page". To add, there could be several different classes
of <A> within each <DIV>, so the operation would have to then be
repeated within each <DIV> and within each <A> class. I hope this
makes sense.

Best regards,
Martin

Reply via email to