Here is my code: http://jsfiddle.net/yvonnezoe/MKfLU/9/
i would like to know what are the values stored in my array so that it is easier for me to monitor what has been pushed in and splice out from the array. i have tried different method such as using toString(),
$.each(rowArray, function(index, value){
newHTML.push('<span>'+value+'</span>');
});
$("#test").html(newHTML.join(" , "));
and so on... and it always give me "[object, Object]". Why so?