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.Remove item from JSON object Array using JavaScript and jQuery<p>Hi&nbsp;<a class="username" rel="bhadriau">bhadriau,</a></p> <p>Use jQuery&nbsp;splice Method.</p> <p>Refer below example.</p> <p><strong><span style="text-decoration: underline;">HTML</span></strong></p> <pre class="brush: html">&lt;script type=&#34;text/javascript&#34;&gt; function RemoveItems(index) { var customers = [{ CustomerId: 1, Name: &#34;John Hammond&#34;, Country: &#34;United States&#34; }, { CustomerId: 2, Name: &#34;Mudassar Khan&#34;, Country: &#34;India&#34; }, { CustomerId: 3, Name: &#34;Suzanne Mathews&#34;, Country: &#34;France&#34; }, { CustomerId: 4, Name: &#34;Robert Schidner&#34;, Country: &#34;Russia&#34;}]; // Remove item from specified index. customers.splice(index, 1); } &lt;/script&gt; &lt;input type=&#34;button&#34; value=&#34;Submit&#34; onclick=&#34;RemoveItems(1);&#34; /&gt;</pre> <p>&nbsp;</p> <p><strong><span style="text-decoration: underline;">Output</span></strong></p> <p><strong><span style="text-decoration: underline;"><img src="https://i.imgur.com/80M137z.jpg" alt="" width="399" height="483" /></span></strong></p>https://www.aspforums.net:443/Threads/254478/Remove-item-from-JSON-object-Array-using-JavaScript-and-jQuery/https://www.aspforums.net:443/Threads/254478/Remove-item-from-JSON-object-Array-using-JavaScript-and-jQuery/Fri, 23 Nov 2018 01:13:27 GMT