Javascript examples for jQuery:Array
JQuery each getting to every item in array
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.0.js"></script> <script type="text/javascript"> $(window).load(function(){/*from w w w . java 2s. c om*/ $(document).ready(function () { Test1([{id:"one",tbl:"Table One"},{id:"two",tbl:"Table Two"}]); }); function Test1(arrObj) { $.each(arrObj,function(idx){ console.log(this.tbl); }); } }); </script> </head> <body> </body> </html>