Here is what I am trying to do:
I am currently using this to create an array of all elements matching the name of the .cookie class. Right now I am getting the text value of this element, and this is not what I need:
var getAllCookies = $('.cookie').text(); var cookiesArray = jQuery.makeArray(getAllCookies); alert(cookiesArray[0]);
I need to find all the elements of a particular class (.cookie), get this element id value and store this ID value inside the array.
Michael rader
source share