$textarea.keyup(function(){ update(); });
I tired to add the live function to it. Like the following
$textarea.live(keyup(function(){ update(); }));
but I get
Uncaught ReferenceError: keyup is not defined
What am I doing wrong?
$textarea.live("keyup", function () {
update();
});