Vishnu Ugale
Wednesday, July 30, 2008
Remove an element in a JavaScript Array
A Easy Way to remove element from array in a javascript.
e.g. var arr = {"one":"Ram","two":"Mangesh","three":"Vishnu"};
now we have remove the element whose value is "Mangesh" and key is "two"
delete arr['two'];
‹
›
Home
View web version