how to get only the name of my object in output ?
I want to use the name of an object.
var stringItem = selectedItem;
console.log(stringItem); // Object dojoUnique10=1
var stringItem = selectedItem.toString();
console.log(stringItem); //[object Object]
What I want is "Object dojoUnique10".
Thanks