The Autocompleter#afterUpdateElement method only passes those two parameters, the element that the autocompleter is attached to (input) and the selected item from the list of autocompleter values. If you want anything else you will need to curry (or bind) them into your callback.
... afterUpdateElement:getSelectionId.curry(parameter1, parameter2, parameter3) ... function getSelectionId(param1, param2, param3, element, selected){ } -justin --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---