> Hello, I'm trying to submit a form via Ajax and receive a JSON return > type > > http://imgur.com/2KZ1.png > > As you can see in the screen shot, I call the method ajaxForm, and on > success of the ajax call, processJson is being invoked. This method > only outputs a data.message alert. > > For some reason, the message is always "undefined". > > I am showing a screen shot of my Firebug debugging, showing that the > variable data is indeed populated with the data I have. What am I > missing?
"data" is an array with one object that has "name" and "id" properties. data.message is indeed undefined.