Jörn Zaefferer wrote: > Stefan Petre wrote: > >> Sure, I will implement this option. Any suggestion for the parameters >> to send to the callback? >> > How about this: > text - The text of the selected entry > value - The value of the selected entry > index - The index of the selected entry in the list of available entries > input - The characters entered so far before selecting an entry, must > take care of autofilled characters, equals 'text' if it was fully entered > > The order should be optimized so the client has to only specify the > parameters he needs most likely, eg. function(text, value) { dosomething } > > On a side note: If a client can write a callback for this, he should be > able to write one for the fx option ;-) > > -- Jörn > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > Can you give me an example of a case that will use all of this parameters? I want to keep it real.
The FX is more appealing then a callback for onselect for starters and for that it should have a easy way to implement those effects. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/