Javascript examples for Array Operation:Array Nest
Get values from object array with nested level
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript"> window.onload=function(){/*from w w w .ja v a2 s .c om*/ var mylist = {"groupslist":{"groupname":["user1","user2","user3"],"groupname2":["user1","user2","user3"],"groupname3":["user1","user2","user3"]}}; console.log(mylist.groupslist.groupname2) } </script> </head> <body> </body> </html>