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.8.8~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ffc08557ad764d7aca17ea1c6e75a62f6eb65c15;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 )