If you're traversing a collection of elements, then the first parameter in your findAll method is going to be an element.
Bind is a property of a Function, not an Element, so that it would be failing on this attempt of execution. http://prototypejs.org/api/function/bind -- http://positionabsolute.net On Jan 9, 8:40 am, Walter Lee Davis <[email protected]> wrote: > On Jan 9, 2009, at 6:56 AM, Othon Reyes wrote: > > > "Object doesn't support this property or method" in line 651 > > of prototype.js > > This particular error usually means that the object in question has > not yet been "extended" by Prototype. Try wrapping the reference to it > in the "dollar" function before you attack it with any of the > Prototype functions. > > If you're referring to it as foo in your script, do this in the first > line or so: > > var foo = $(foo); > > Walter --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
