Sorry, i should have clarified, i actually had the params for 
NamedActionResponseHandler specified in the opposite order originally, 
but the 2nd argument was a undefined object and the first argument when 
i looked inside it was the response xml from ajax.
Seems like my extra parameter was not bound to the call.
I'm currently using Prototype 1.3.1, perhaps i need the latest version?

Todd Ross wrote:
> On 4/10/06, Erin Brewer <[EMAIL PROTECTED]> wrote:
>> 'theElement' is undefined, am i missing something?
> swap theElement and theResponse in your function
> NamedActionResponseHandler definition.  Your optionally bind()'ed
> parameters are passed first.
> 
> Gregory, bind() does support this.  It's my preferred technique.
> 
> Todd


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to