I am new to arrays in jQuery. If I have an array that looks as follows, is there a way that I can access just the numbers (without the item names) ?
I would to extract the group of numbers for each item, so instead of "item1: 5, 7, 9" I would need just "5, 7, 9" etc.
var arr =
{
item1: 5, 7, 9
item2: 3, 5, 3
item3: 1, 7, 5
//...
}
arr.item1work for you?item1: [5, 7, 9]and so on...