remove element from multidimensional array jquery code example Example: js splice 2d array arr.splice((i,j), 1);