I am trying to call a function inside a event. But it is not working.
the clicked div should fadeIn and the other divs should have 50% opacity.

My Jquery:

```
function clickopa ( element ) {
  return $( element ).fadeIn(),
  $( element ).closest('div).fadeTo(0, 0.5);
}

$('.blueDiv').fadeTo(0, 0.5);
$('.blackDiv').fadeTo(0, 0.5);
$('.blackDiv').click ( function(e) {
    clickopa(this);
});

```

My HTML:

```
<div class="redDiv" style="background:red;width:20px;height:20px;"> </div>
<div class="blueDiv" style="background:blue;width:20px;height:20px;"> </div>
<div class="blackDiv" style="background:black;width:20px;height:20px;"> </div>

```