From 670f8bf4a3b1783db4733269c0b968f2e980ae9e Mon Sep 17 00:00:00 2001 From: Joe <joetsuihk@gmail.com> Date: Wed, 7 Jul 2010 20:59:58 -0700 Subject: [PATCH] adding default "selected" option to the autocomplete input box --- demos/autocomplete/combobox.html | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index 3001f7d1785..c8d3d40dbf9 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -24,6 +24,7 @@ var self = this; var select = this.element.hide(); var input = $("<input>") + .attr('value', $(select).children('option:selected').html()) .insertAfter(select) .autocomplete({ source: function(request, response) {