When I do the following:
alert(objecr);
It shows as object Object
How do I display the content of what is in the object?
I also tried
alert(JSON.stringify(objecr));
but it shows the following:
“[object Object]”
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you’re using a modern browser to debug, don’t use alerts.
Then look in your debug console. IE9, Chrome, FF, and Opera all have good consoles for viewing objects. I imagine Safari does as well.