Getting data from object returned in jquery, ajax call

Getting data from object returned in jquery, ajax call

Hi guys,

having a problem with an ajax call, hope you can help .  I call a query, get success, but don't know how to get the data out. Here is the code..

$.ajax({
                    type: "POST",
                    url: "index.cfm",
                    data: "fuseaction=timetable.GetMyData&MyValue="+MyValue,
           
                    success: function(MyValue){
                       
                        alert("MyValue is " + MyValue);
                  
                 
                        }
                });   


An object is returned, but I can't the data out of it.

Thanks,

Gordo