> I already tried several versions including this one:
>
> $('#myTextarea').bind("keyup", function(){
>                 if ( $("#myTextarea[value:contains('hello')]"))
> log.empty().html('test');
>
> });

I think skipping the attribute part of the jquery string should work:
if ( $("#myTextarea:contains('hello')")) ...

/Anders



Reply via email to