Click here to Skip to main content
16,015,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends
in facebook when we chat with any friend
during chat when friend is typing during that time we see message like Friend is typing
is this possible in asp.net
Posted
Comments
Bama Boy 4-Oct-13 9:07am    
did you use chat control ??
Raje_ 7-Oct-13 6:22am    
You need to use SignalR.

1 solution

C#
var timer;

var changeTxt = function(){
    //Change label text to user is typing.
};

$("#myInput").keyup(function(){
    clearTimeout(timer);
    timer = setTimeout(changeTxt, 1000);
});
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900