Search and Top Navigation
#5387 closed bug (fixed)
Opened March 20, 2010 02:39PM UTC
Closed March 20, 2010 04:17PM UTC
Last modified March 20, 2010 04:17PM UTC
Autocomplete: widget method not documented
Reported by: | Rwhitbeck | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.8 |
Component: | ui.autocomplete | Version: | 1.8rc3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Saw a post from Rich where he suggested someone use the widget method in autocomplete.
open: function( event, ui ) {
$( this ).autocomplete( "widget" )
.find( "ui-menu-item-alternate" )
.removeClass( "ui-menu-item-alternate" )
.end()
.find( "li.ui-menu-item:odd a" )
.addClass( "ui-menu-item-alternate" );
}
Link: http://forum.jquery.com/topic/alternating-style-on-autocomplete#14737000000779882
I can not find documentation on autocomplete for the widget method.
http://docs.jquery.com/UI/Autocomplete#method-widget