ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Add and Find value in Multidimensional Array in JavaScript<p>Hi <a class="username" rel="mukesh1"> mukesh1</a>,</p> <p>Check this example. Now please take its reference and correct your code.</p> <div class="demo_block"> <pre class="brush: js">&lt;script type=&#34;text/javascript&#34;&gt; window.onload = function () { var TotalTask = 5; var Completed_Task = 2; var Rejected = 1; var Pending = 1; var Uncomplete = 1; var multiArray = new Array(5); for (var i = 0; i &lt; multiArray.length; i++) { multiArray[i] = new Array(2); } multiArray[0][0] = &#34;Total Task&#34;; multiArray[0][1] = TotalTask; multiArray[1][0] = &#34;Completed&#34;; multiArray[1][1] = Completed_Task; multiArray[2][0] = &#34;Rejected&#34;; multiArray[2][1] = Rejected; multiArray[3][0] = &#34;Pending&#34;; multiArray[3][1] = Pending; multiArray[4][0] = &#34;Uncomplete&#34;; multiArray[4][1] = Uncomplete; alert(multiArray[0][0]); // alert 1st index 1st item i.e. Total Task alert(multiArray[0][1]); // alert 1st index 2nd item i.e. 5 alert(multiArray[0, 0]); // alert 1st index i.e. Total Task,5 } &lt;/script&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p>https://www.aspforums.net:443/Threads/168197/Add-and-Find-value-in-Multidimensional-Array-in-JavaScript/https://www.aspforums.net:443/Threads/168197/Add-and-Find-value-in-Multidimensional-Array-in-JavaScript/Tue, 11 Sep 2018 04:50:25 GMT