I was thinking of data manipulation libraries.
sorts, inserts, etc. I have not used prototype for this since it
seemed more like div manipulation, etc. I will have to read the docs
a little more!
Deco
On Feb 8, 2006, at 3:01 PM, Todd Ross wrote:
On 2/8/06, Deco Rior <[EMAIL PROTECTED]> wrote:
So the data is returned in an object that can be handled rather
than use
strain response.text?
Is there a library that allows JSON data object manipulation ?
The callback function is no longer working with JSON
{
first_name: 'Todd',
last_name: 'Ross',
favorite_movies: ['Office Space', 'Serenity']
}
... it's a native JavaScript object. You work with the object by:
function theCallback(transport, json) {
alert(json.first_name + "'s absolute favorite movie is " +
json.favorite_movies[0]);
}
One such library for working with JavaScript objects would be ...
Prototype.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs