That allows us to do unbind(".autocomplete") in the destroy method to remove
all autocomplete-related event handlers.

Jörn

On Tue, Oct 28, 2008 at 2:56 AM, Nathan <[EMAIL PROTECTED]> wrote:

>
> I see that some of the bind are set to what looks like a custom event.
>
> i.e.
>
> $input.bind(($.browser.opera ? "keypress" : "keydown") +
> ".autocomplete", function(event) {
> ...
> }
>
> from the autocomplete widget.
>
> Why does this work and what is the advantage of adding the
> ".autocomplete" to the end of the even name?
>
> Nathan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to