$('div:odd').css("background-color", "#F4F4F8"); $('div:even').css("background-color", "#EFF1F1");