From cf48a3c5c8da7bc90a9424e333d53d0e178e7885 Mon Sep 17 00:00:00 2001 From: Mario Visic Date: Thu, 16 Dec 2010 18:10:30 +0800 Subject: [PATCH] Autocomplete (Combobox demo): Set the button type to button to prevent form submission. Fixes #6755 - Autocomplete: The combobox "show all" button submits forms. --- demos/autocomplete/combobox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.39.5