This project is archived and is in readonly mode.

#616 ✓invalid
Edward

JSON.Request returning Undefined

Reported by Edward | March 11th, 2009 @ 08:27 AM | in 2.0 (closed)

Hi folks

I'm picking up a problem here with JSON.Request. I've tried searching your forums, but no one else seems to have had the same problem. I'm sure it's something simple.

Here is my code:

<!-- MooTools -->

As you can see, I just want to get the data in the MyData.json file, which is located in the same folder as my web file, where this script is running from.

However, the alert pops up and always says undefined. I'm not sure how else to debug this from here, as I'm not a Javascript genius, however I've tried to provide you with as detailed an account of my issue and show you that I've tried to sort the problem on my own.

Your demos page here, for JSON.Request, is also bugging out in a similar manner. It doesn't seem load its json.data file either, like mine as well. The debugger says that 'previews' are undefined, when I checked your demo JSON.Request from your website.

I've also checked the same script in IE6/7, Firefox 3, Chrome, Opera 9.6, and Safari on my computer, all with the same, undefined result for the json object return value.

There are also some screenshots attached for you to see the issue in action.

Thank you for reading and take care. Edward

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Attachments

Pages