Is it possible to use 'this' in this scenario?

```
var td = document.getElementsByTagName("td");

 for (var i = 0; i<td.length; i++){
    td[i].id = 'abc' + i;
};

for (var i = 0; i<td.length; i++){
    td[i].onclick = changeColor(this.id) **<--- I need this to send the 
                                                          element's ID**
};

```

What Im trying to do here is assign the same 'onclick' function to all my elements.
And making the elements send their id when clicking on them.