I have an array of objects:
[{\"value\":\"14\",\"label\":\"7\"},{\"value\":\"14\",\"label\":\"7\"},{\"value\":\"18\",\"label\":\"7\"}]
How I ca
Try:
var ar = [{"value":"14","label":"7"},{"value":"14","label":"7"},{"value":"18","label":"7"}]; for(var i=0; i < ar.length; i++) { if(ar[i].value == "14" && ar[i].label == "7") { ar.splice(i,1); } }
demo