I'm having problem with this object array. I need to remove the object who match the removeVal.I't doesn't remove. See attached photos which is highlighted in red. I need to remove that all.
var removeVal = $(this).attr('href');
$.each(product_json, function(key, val){
if( key == removeVal) {
val.splice(key);
}
});


filterfunction .