I get a lot of stuff moving about, and i was going to make a hashmap in javascript to allow me to remember certain things, one of which is objects recently touched. With that said, i was curious if i could create a key->value or array which hold the selector of the item clicked.

I wasnt sure if it was something like:

```
var item = new Array();
$("div.item").click(function(){
   item.push($(this));
});

```

Then each item that is clicked is added to the array and i could do something like:

```
$(item).each(function(){
    $(this).css("background-color","red");
});

```