jquery creating two dimensional array

Viewed 106272

Edit: It appears I was a bit confused on what I was trying to accomplish. For those that took the time to explain this, thank you.

I'm trying to create a two dimensional array in Jquery/Javascript. I've done a decent amount of searching, testing and more searching but i'm unable to find a solution that really makes sense to me. (it's been a very long week already....)

Below is the desired format of the array.

{"product":[{"attribute":"value","attribute":"value"}]}
5 Answers
Related