Displaying 2 results from an estimated 2 matches for "dataurl".
Did you mean:
data_url
2007 Jul 10
6
Having trouble using data returned by Ajax.request
...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...";
},
onComplete: function(...
2007 May 10
13
REST own action
I can sent my own action to a users_controller stating in routes.rb
map.resources :users, :member => { :network => get }
I defined in my users_controller the network action....
so I can have an url like
"http://localhost:3000/users/168.xml;network"
now I would like to have another action network_plus which is a little
bit different fron the network..
sure, I can state another