I’m using console.log(data.result) to discover an object hierarchy, here’s the output:
[
Object
delete_type: “DELETE”
delete_url: “http://doubleyourlikes.com/lab/time/jq-file-upload/server/php/?file=splash%20%2816%29.png”
name: “splash (16).png”
size: 17369
thumbnail_url: “http://doubleyourlikes.com/lab/time/jq-file-upload/server/php/thumbnails/splash%20%2816%29.png”
type: “image/png”
url: “http://doubleyourlikes.com/lab/time/jq-file-upload/server/php/files/splash%20%2816%29.png”
proto: Object
How does a noob like myself access this object …? Thanks! I want the name 🙂
Update
console.log(data.result)
alert(data.result.name);
The alert comes back null!
It’s hard to tell since the opening
[isn’t closed, but I assume it means the Object is contained in an array, so you’d access it like: