yes!!! it shows the table!!! i will add that line!!! On Tuesday, September 4, 2012 9:35:58 PM UTC-6, asgallant wrote: > > You're using firefox, right? Check the web console instead of the error > console (ctrl-shift-k in the windows version) to see if the JSON ends up > there. > > If it is showing up properly, then since the type of jsonData is string, > you may need to parse it before passing it to the DataTable constructor: > > var data = new google.visualization.DataTable(JSON.parse(jsonData)); > > though in some browsers, this is not necessary. > > On Tuesday, September 4, 2012 9:36:54 PM UTC-4, Diana Flores wrote: >> >> hi, well i add what u say but what i got was a popup that says "string", >> and in the console of error the same warning!!! >> >> On Monday, September 3, 2012 9:47:59 PM UTC-6, asgallant wrote: >>> >>> The json is fine. Insert this line after the AJAX call and check the >>> developer's console: >>> >>> alert(typeof(jsonData)); >>> console.log(jsonData); >>> >>> You should get a popup that says "object" and the developer's console >>> should have the *exact* same json as your PHP page. >>> >>> >>>
-- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/8kBFVsK2tFoJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
