It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

how to get only the name of my object in output ?

how to get only the name of my object in output ?

Postby aneuryzma on Mon Apr 27, 2009 7:23 pm

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
aneuryzma
 
Posts: 41
Joined: Mon Jan 19, 2009 9:10 am

Who is online

Users browsing this forum: No registered users and 3 guests