My XMLHttpResponseText object is coming as
<appto.models.Suggestion object at 0xc7aecd0>
How can I extract properties and valus associated in Javascript?
When I use show(xmlHttpRequest.responseText) in javascript, it errors out saying
Error show is not defined
I am using firefox
Thank you
First, ‘show’ must be a method defined somewhere in Eloquent Javascript, either add it to your script or, as already suggested use alert or consolsole.log.
For the actual response itself, ‘appto.models.Suggestion object at 0x80b770’ must be a problem with your server app.