Click here to Skip to main content
15,886,815 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi every one i need to create array of array in jquery
how can i write that code?

i need result like this dd=[d1[2,33,44],d2[33,44,55]]
Posted
Updated 30-Jun-14 21:52pm
v2

1 solution

Google for JavaScript Object Notation[^]...
JavaScript
var dd = [{ d1: [2, 33, 44] }, { d2: [33, 44, 55] }];
 
Share this answer
 
Comments
pramodgorityala 1-Jul-14 5:57am    
thank u for response,can you give example code ...
like your format var dd = [{ d1: [2, 33, 44] }, { d2: [33, 44, 55] }];
Kornfeld Eliyahu Peter 1-Jul-14 7:02am    
I do not understand your question...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900