soyjavi/QuoJS — Issue #9: Question: Event handler
Author: PhilippSchreiber
Created: 2012-01-28 22:23:39+00:00
State: open

Hey guys,

perhaps I'm just a little bit dump, but: how can I achieve this examples with QuoJS:

```javascript
jQuery('textarea.note').live('keypress', function() {
alert('keypress');
});

jQuery('textarea.note').live('keydown', function() {
alert('keydown');
});

jQuery('textarea.note').live('keyup', function() {
alert('keyup');
});
```

I tried:

```javascript
$$('textarea.note').on('keyup', function() {
alert('keyup');
});
```

What's wrong?!

Cheers
Philipp