Question: I'm trying to access an array from a custom `UITableViewCell` subclass. The array is created in my tableViewController. This is driving me crazy. I access other view controller's objects all the time with `ViewController *vcInstance`. I actually need to edit the array from my cell subclass, but I can't even `NSLog` it from my cell view controller. The array logs perfectly in my tableViewController. All I get is `null` from the cell subclass.

`CustomCell.h`

```
@property (retain, nonatomic) SongsViewController *vc;

```

`CustomCell.m`

```
@synthesize vc;

-(IBAction)setStateOfObjects
{
    NSMutableArray *array = [[NSMutableArray alloc] initWithArray:vc.parseTrackArray];
    NSLog(@"%@", array);
}

```

I've also simply tried: `CustomCell.m`

```
-(IBAction)setStateOfObjects
{
    SongsViewController *vc;
    NSLog(@"%@", vc.parseTrackArray);
}

```

Answer: 
Try like below,

```
$(".perkdrop").change(function() {
    $('.dropdown').slideUp();
    if ($(this).is(':checked')) {
        $(this).parent().next().slideToggle("normal");
    }
});

```

Also I think you messed up the first group div (the structure is different from other). which I think is not the case.

<http://jsfiddle.net/DBexG/2/>
Try this

```
 $(".perkdrop").change(function() {
    $('.dropdown').hide();
    if ($(this).is(':checked')) {
        $(this).parent().next(".dropdown").slideToggle("normal");
    }

 });​

```

[Working Fiddle](http://jsfiddle.net/joycse06/PgEkA/)