you can use the following code for timer
------------------------------------------------------------------------------------
setInterval ( "doSomething()", 5000 );
function doSomething ( )
{
// your ajax code goes here
}
------------------------------------------------------------------------------------------
http://www.elated.com/articles/javascript-timers-with-settimeout-and-setinterval/
and ajax http://www.captain.at/howto-ajax-process-xml.php
google ajax examples. you can find a lot.
On Wed, Aug 5, 2009 at 10:43 AM, sampath kumar <[email protected]>wrote:
> Dear Kiran,
>
> Thanks for your message.Please give me some links in java script and ajax.
>
> it will much helpfull for my project
>
> Regards
> sambath
>
> On Tue, Aug 4, 2009 at 6:36 PM, Kiran Raj <[email protected]> wrote:
>
>> You can use a javascript timer which in turn uses ajax to connect to
>> code-behind from time to time. once you go to code-behind you can read
>> the flagged users and their messages and send them back to the page. You can
>> post the messages in a similar way.
>>
>>
>> On Sat, Aug 1, 2009 at 9:51 PM, Man Vuong Ha Thanh <[email protected]
>> > wrote:
>>
>>> How can you transfer the chat messages between the expert and the user? I
>>> think if someone want to chat with the expert, you should send a message or
>>> an alert to the expert. It's just my thought.
>>>
>>> On Sat, Aug 1, 2009 at 1:49 PM, sampath kumar
>>> <[email protected]>wrote:
>>>
>>>> Hi ALL,
>>>>
>>>> I am a Asp.net c# developer.Currently i am doing a chat application .I
>>>> had a doubt in integrating the chat application.
>>>>
>>>> Our Flash team had developed the chat application and i need to
>>>> integrate it in my application(website).
>>>>
>>>> Chat is between an expert and a user.
>>>>
>>>> If user clicks on the expert name i can show the chat screen and hit the
>>>> database detail of the particular expert ,but i don't know how to show the
>>>> expert ,that a user is trying to ping him.
>>>>
>>>> So if i made that function i can complete the chat application.Please
>>>> suggest me ,is this the right method ? or you can also provide a better
>>>> suggestion to complete the chat application.
>>>>
>>>> If you need better explanation ,please reply me i will explain.
>>>>
>>>> Please help me regarding this chat application.Your help will be much
>>>> appreciated.
>>>>
>>>> Thanks and Looking forward for your reply.
>>>>
>>>> Thanks and Regards
>>>> E.Sambath
>>>>
>>>
>>>
>>>
>>> --
>>> kidVN
>>>
>>
>>
>>
>> --
>> Regards
>> Kiran
>>
>>
>>
>