Have you thought about the possibility of allowing multiple suggestions using one textfield? It would be a great functionality, I think.
 
The idea is that you will be able to specify a "separator char", like comma or space, and anything written after this char launches a new request of autocompletion, using only the values after the last "separator char". Something similar to what happens at Gmail when you are filling the emails (separateds by comma), or at digg when you are writting the URL tags (separated by spaces).
 
--
Albert Garcia
OboLog ยป tus pensamientos en red
http://www.obolog.com

___________________________
Mi blog en http://obokaman.obolog.com
 


De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Stefan Petre
Enviado el: viernes, 29 de septiembre de 2006 12:04
Para: jQuery Discussion.
Asunto: Re: [jQuery] Interface: Autocomplete fixes (attn: Stefan)

When I imported the database i used a wrong version for collation

2006/9/29, Dan Atkinson <[EMAIL PROTECTED]>:

Although only relevant to the example, searching for 'A coru' provides an
interesting, if cold location for Spain!

aedmonds wrote:
>
> If you've had some difficulty using the Autocompleter included in the
> wonderful interface package, I found some fixes for bugs I was
> experiencing. These bugs were happening when the input field was within a
> form and you arrow down to the selection and hit enter. The callback fired
> but after the form had been submitted :(. These couple of steps will help
> fix that.
>
> First, there are two "protect" methods in the iautocompleter.js code.
> Delete the "protect" method located on line 353. It is incomplete and will
> throw errors if the first "protect" method on line 210 is removed instead
> of this method.
>
> Second, on line 425 (or 411 if you deleted the second "protect" method),
> where the "protect" method is bound to the keypress...
>
> "wait a sec... that's no 'protect'. All I see is
> '.keypress(jQuery.iAuto.potect)'!" you might say to yourself. If you did,
> congrats, you found the second error. If you didn't say that, don't worry.
> Just add the "r" to "potect" and the Autocompleter works like a dream.
>
> Hopefully this is updated soon (I know Stefan made an update a couple of
> days ago but nothing changed for the Autocompleter).
>
> If you have no idea what the "interface" package is, you can go to
> http://interface.eyecon.ro/ http://interface.eyecon.ro/ .
>
> As always, thanks John for jQuery, and thanks Stefan for interface.
>
> -Aaron
>

--
View this message in context: http://www.nabble.com/Interface%3A-Autocomplete-fixes-%28attn%3A-Stefan%29-tf2354128.html#a6561420
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to