# Targeting with nested repeaters

**URL:** https://forum.kirupa.com/t/targeting-with-nested-repeaters/267330
**Category:** flash
**Created:** [July 30, 2008, 7:43pm UTC](https://forum.kirupa.com/t/targeting-with-nested-repeaters/267330 "2008-07-30T19:43:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nburlington](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nburlington/32/1365_2.png) [@nburlington](https://forum.kirupa.com/u/nburlington)
#### Post date: [July 30, 2008, 7:43pm UTC](https://forum.kirupa.com/t/targeting-with-nested-repeaters/267330/1 "2008-07-30T19:43:04Z")

</div>

I have two repeaters in my UI. The first displays all of the ‘projects’ in my collection. Each ‘project’ has a collection of ‘images’. The projects are displayed as panels with the image list inside each panel as a set of button components.

When you click on one of the image buttons, I want to delete that image from the project. But how do I target the first repeater?

I’m using:

```auto
click="deleteImage(event.currentTarget.getRepeaterItem())"

```

to capture the ‘image’ repeater, but how can i grab the ‘project’ repeater in the same event?
