开发者

show changes after a refresh

Is it possible to highlight changes in the DOM after each AutoRefresh. What are some di开发者_StackOverflow社区fferent approaches?

Thanks, rod.


@rod maintain a separate class with required colors and whenever you add a element to dom on ajax , give this class to that element.

$('#yourid').load('new.html', function() {
  $("#id").addClass("newcolor");
  $
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜