I have a js code like this:

```
$(document).on('keydown', function(e) {
    if (e.keyCode === 13) {

```

Above code works as well (for all textarea(s)). Now I want to devote the above code for all textarea's except this `id: #idname`

---

I tried this:

```
$(document).on('keydown', 'textarea:not(#idname)', function(e) {
    if (e.keyCode === 13) {

```

But this code doesn't work, How can I fix it?