$(function(){ $('.item_views').each(function(){ $(this).html(2008) }); $('.item_comments').each(function(){ $(this).html(0) }); });