add input event support for textarea (fixes #362)