Displaying 1 result from an estimated 1 matches for "generategraphdata".
2007 Jul 10
6
Having trouble using data returned by Ajax.request
...,0.0841707718624196]]}
But I keep getting an error: "item.pluck is not a function" on line
857 of plotr_uncompressed.js
Here is the code I''m using to grab the data into a javascript
variable:
var graphData = "";
var url = "foobar.php";
function generateGraphData(dataRange,dataUrl) {
new Ajax.Request(url, {
method: ''get'',
parameters: {dR:dataRange,dU:dataUrl},
onLoading: function() {
// change this to a loading image/html
$(dataRange).innerHTML="loading...";
},
onC...