tags:

views:

68

answers:

2

there is jerking in text in my chat application (particularly in IE) as i have set timer for refresh the content for each one second how to prevent this

A: 

Do you know how to use AJAX or are you refreshing the entire page?

Jonathan Allen
i have kept the div tag ( which has the posted msgs ) inside the updatepanel
I like dspinozzi's idea. Unforuntately UpdatePanel is pretty limited so this may require you to dump it and use real AJAX.
Jonathan Allen
+1  A: 

if using ajax, rather than "replacing" the content in the div, "append" to it

eg. with jquery, rather than

$('#convo').html('<p>Msg1</p><p>Msg2</p><p>Msg3</p>');

do

$('#convo').append('<p>Msg1</p>');
$('#convo').append('<p>Msg2</p>');
$('#convo').append('<p>Msg3</p>');