Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Remove item from array using jquery

var index = array.indexOf(item);
if (index !== -1) {
  array.splice(index, 1);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Remove #item #array #jquery
ADD COMMENT
Topic
Name
2+3 =