From: Mario Visic Date: Thu, 16 Dec 2010 10:10:30 +0000 (+0800) Subject: Autocomplete (Combobox demo): Set the button type to button to prevent form submissio... X-Git-Tag: 1.9m4~101 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cf48a3c5c8da7bc90a9424e333d53d0e178e7885;p=jquery-ui.git Autocomplete (Combobox demo): Set the button type to button to prevent form submission. Fixes #6755 - Autocomplete: The combobox "show all" button submits forms. --- diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index 9f92ae108..37bb0c179 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -82,7 +82,7 @@ .appendTo( ul ); }; - this.button = $( "" ) + this.button = $( "" ) .attr( "tabIndex", -1 ) .attr( "title", "Show All Items" ) .insertAfter( input )