Jump to content

.ajax Choosing Specific Data


chasethemetal

Recommended Posts

This ties into a topic I started in the PHP forums here

 var jsonData = null; var jsonDataResult = $.ajax({url: "process.php",dataType: "json",async: false,success: (function(data) {         jsonData = data;     })});

The php file is outputing this

[ ["Date","Count1","Count2"],["12/09/2011",11,17], ["12/08/2011",23,55] ]

The above code works. And I get my graph, now the question is. With ONE process.php file. How can I have multiple arrays being outputted with different data. And then in the jQuery above call that specific array set? Again any pointer and tips would be appreciated!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...