hackalive Posted June 8, 2011 Share Posted June 8, 2011 Hi I have a chat script that works with AJAX by posting and retrieiving from a DB. However I want it to work like Google Wave and show you live typing update, so you can see as they are typing. How can I do this? Cheers in advance. Quote Link to comment https://forums.phpfreaks.com/topic/238773-chat-update-as-typing/ Share on other sites More sharing options...
Ollifi Posted June 8, 2011 Share Posted June 8, 2011 So do you want that when you write the next letter the people watching will see it immediately? If so, you need to create a new AJAX request to server every time you type a letter. Then the other side update should get new data example between 0.5sec-1sec. Quote Link to comment https://forums.phpfreaks.com/topic/238773-chat-update-as-typing/#findComment-1226913 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.