Javascript Remove Element in Array Using jQuery
Berikut adalah contoh cara menghapus element dari javascript array menggunakan jQuery [code language=”javascript”] var y = [1, 2, 2, 3, 2] var removeItem = 2; y = jQuery.grep(y, function(value) { return value != removeItem; }); [/code] http://stackoverflow.com/questions/3596089/how-to-remove-specifc-value-from-array-using-jquery