javascript - Image flickering In Chrome -


this piece of code using refresh div without complete page refresh. working fine in browsers , except chrome functionality of auto refresh working after given time interval images of section blinking. how stop blink in chrome.

 <script>  $(document).ready(function() {      $("#multicomment").load("refresh.php?id=<?php echo $conversation['id'];?>");    var refreshid = setinterval(function() {       $("#multicomment").load('refresh.php?id=<?php echo $conversation['id'];?>');    }, 1000);    $.ajaxsetup({ cache: false }); }); </script> 

desired output need: want create comment section user profile image.if comments on particular topic comment reflect without pressing ctrl+f5 commenter's profile pic many social networking sites.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -