I have searched around for some answer to this and I have a feeling I
could make it work using bind(), but I'm not sure - I'm not exactly
understanding the examples and explanations in regard to my example.

I am returning a json object from the server/ajax.  I am building some
page elements using the json object.  I'd like to allow the user to
click on the newly updated content and have that click update a
different part of the page.  But I'd like to reference the original
json object, rather than pass all of the relevant information in the
onclick.

Is this what bind() is for?  Can I *bind* my json object to a function
that refers back to the original object?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to