Dear,

I am doing a site for chatting application. How can i detect the other person started typing for displaying he is typing...

I also want to display an (alert) , what i mean is , if we typed a text and go to an another tab and if we get a response from the other person, that should be displayed in the chatting page tab of the browser.........Just like google .....

Than you for ur valuable time..


Jino.

How to update the second client directly is beyond me, if it's even possible. I suspect that responding to a keyboard event such as onkeypress should be able to start the process on the sending client though.

The receiving client would probably have to poll the server for a status update at some periodic rate.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.