Here\'s what I\'m trying to do:
Currently I am using this to create an array of all elements matching the class name of .cookie. Right now I am getting
.cookie
var cookiesArray = new Array(); $('.cookie').each(function() { var id = $(this).attr(id); if(id != undefined) { cookiesArray.push(id); } });