[object Object] javascript error
When you call a function in javascript then some times you get the error :[object Object] while alert the parameter variable of the function
actually, this is not error, and you can solved it by below way
function FF1(item)
{
//alert(item); =[object Object]
for (var i in item) {
alert(i);
alert(item[i]);
}
}