mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Autocomplete combobox demo: Define this.wrapper for use inside destroy().
This commit is contained in:
parent
2017889b3c
commit
c974d0fc69
@ -42,7 +42,7 @@
|
|||||||
select = this.element.hide(),
|
select = this.element.hide(),
|
||||||
selected = select.children( ":selected" ),
|
selected = select.children( ":selected" ),
|
||||||
value = selected.val() ? selected.text() : "",
|
value = selected.val() ? selected.text() : "",
|
||||||
wrapper = $( "<span>" )
|
wrapper = this.wrapper = $( "<span>" )
|
||||||
.addClass( "ui-combobox" )
|
.addClass( "ui-combobox" )
|
||||||
.insertAfter( select );
|
.insertAfter( select );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user