jQuery: Remove Specific Element from an Array ?>

jQuery: Remove Specific Element from an Array

function removeArrayElement(list,value) {
	var position = $.inArray(value, list);
	if ( position == -1 ) list.splice(position, 1);
}

Leave a Reply

Your email address will not be published. Required fields are marked *

seven − 3 =