I have an array in javascript that looks like this:
arr = [\"md51234\",\"md55234\"]
I\'m trying to remove an item from this by doing:
Different approach using jQuery:
arr = ["a", "b", "c", "d", "e"];
Remove item by index:
arr = jQuery.grep(arr, function(value, index) { return index != 2; });
Remove item by value:
arr = jQuery.grep(arr, function(value, index) { return value != "a"; });