Am a little confused about the javascript object,say I have the DOM below

```
<div class='of'></div>
<div class='of'></div>
<div class='of'></div>
<div class='of'></div>

 //select all of them 
  var fof = $('.of')

```

So fof is an array with 4 DOM object right? Can I treat the fof as javascript object ,and define some method like:

```
fof = {
  open:function(){

   }
 }

```

And is it possible to define some 'action' for fof; like click dblclick, so when the 'action' happens (like a event handler),call some method! in steady of hard coding 

```
fof.click(function(){

})

```

How can I do that?