On 4/14/06, Matt Adams <[EMAIL PROTECTED]> wrote:
> onUpdate: updateOrder('page_33')
This calls updateOrder at once and assigns the result to onUpdate. ()
means "execute the function".
Use onUpdate: updateOrder.bind(this, 'page_33')
For more details search the mailing list archive for the thread
"Prototype Ajax - How to pass my own params to onComplete ?" from this
week.
Bye,
Martin
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs