alert the object

Posted by user295189 on Stack Overflow See other posts from Stack Overflow or by user295189
Published on 2010-06-07T15:12:48Z Indexed on 2010/06/07 15:22 UTC
Read the original article Hit count: 151

I am setting an object like this

n.name = n.name.join(String.fromCharCode(255));
n.description = n.description.join(String.fromCharCode(255));

I want to be able to alert(n); but it tells me [Object]

is there a way to alert complete object?

thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events