I have built a web based instant messaging application for a site and I'd like a message to say "user is typing" when the person you're chatting with is typing. Gtalk does this, but Meebo doesn't provide the functionality (I only mention Meebo because it's a prominent web-based chat app).
It would be easy enough to have each key press that's not the enter key ping the server and update the other user, but it seems like that's a bad idea - too much. I read somewhere that MSN does the "user is typing" message by detecting when the text box is not empty and then leaving the message until the message gets sent, but this seems to imply that we would need a timeout if the user hasn't hit a key after a certain period of time - and that sort of brings me back to the beginning.
does anyone know how I might go about doing this?