How can I remove an object from an array? I wish to remove the object that includes name Kristian from someArray. For example:
Kristian
someArray
som
How about this?
$.each(someArray, function(i){ if(someArray[i].name === 'Kristian') { someArray.splice(i,1); return false; } });