Array and loop in jquery
var fixItems = ['.test1','.test2','#test']; $.each(fixItems, function (index, value) { });