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
Post a Comment