Question: I integrated facebook api in my application. I am storing all wall values in array and showing it in my tableview NIB file. But after logged in I am getting an EXC\_BAD\_ACCESS exception in main.m in line this.

int retVal = UIApplicationMain(argc, argv, nil, nil);

I am able to trace value. Here is my code of loading nib file.

```
facebookData=[[[[NSArray alloc]initWithArray:result]retain]autorelease];
Fave *bController = [[[Fave alloc] initWithNibName:@"Fave" bundle:nil]autorelease];
[self.navigationController pushViewController:bController animated:YES];
[bController release];

```

Here facebookdata is an array defined in main.m file. I am storing values of wall in this array and in next Fave nib file I am showing values from array. Why I am getting this error during loading of nib file.

Thanks in advance

Answer: 
You can select checked with:

```
$(":checkbox:checked")

```

And not checked with:

```
$(":checkbox:not(:checked)")

```

Hope this helps. Cheers
```
$('#mer').click( function() {
  var checked = [];
  var unchecked = [];  
  $('input[type="checkbox"]').each(function(){
    if( this.checked ){
      checked.push(this);
    }else{
      unchecked.push(this);
    }
  });
});

```