Maybe I don't know how to use firebug that well but I do know they data is being returned from the query. I copied and pasted the query and put it in the cfm file, substituted the dsn name and ran it and it works.
Where do I look within firebug to see what's being returned? Thanks On Wed, Sep 12, 2012 at 11:39 AM, Andrew Scott <[email protected]>wrote: > > Greg, > > There are a multitude of reasons for this, and one of the most simplest for > you to debug is what is returned from ColdFusion. For example, if it was me > I would take Ray's advice and break point the JS, step over the lines and > look at what is around the call and break on the call itself. > > Then all you need to do is make one last step over, and check the response > in the Chrome or Firefox tools to see what has been returned. > > As the callback from your description is very basic, it means that the data > is not being returned from ColdFusion as you think, or in fact nothing is > being returned. > > Simple debug and checks can eliminate this for you, and help you discover > at what point the problem is occurring. And as that call back is very > simple, my $1 is on the fact that there is nothing being returned from > ColdFusion. > > -- > Regards, > Andrew Scott > WebSite: http://www.andyscott.id.au/ > Google+: http://plus.google.com/113032480415921517411< > http://plus.google.com/108193156965451149543> > > > On Thu, Sep 13, 2012 at 2:33 AM, Greg Morphis <[email protected]> wrote: > > > > > Since the line throwing the error is: > > var popConferencePresentations = function(presentation) > > I put it here: > > console.dir(arguments); > > p.setCallbackHandler(popConferencePresentations); > > > > Is that right? If so, where should I see the output? > > > > Firebug shows: > > > > TypeError: presentation is null > > > > > > var pId = presentation.DATA[0][0]; > > > > So I put the console.dir(arguments) above var pId = > > presentation.DATA[0][0]; > > > > and I get the same thing in the console. Thanks! > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352526 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

