aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/combobox.html
diff options
context:
space:
mode:
authorMario Visic <mario@mariovisic.com>2010-12-16 18:10:30 +0800
committerScott González <scott.gonzalez@gmail.com>2010-12-16 07:59:37 -0500
commitcf48a3c5c8da7bc90a9424e333d53d0e178e7885 (patch)
tree841c579d3f5c807b25f60237550016540c0b5f68 /demos/autocomplete/combobox.html
parent6731b0e2d60a16611c25cd248318a4076bd4494d (diff)
downloadjquery-ui-cf48a3c5c8da7bc90a9424e333d53d0e178e7885.tar.gz
jquery-ui-cf48a3c5c8da7bc90a9424e333d53d0e178e7885.zip
Autocomplete (Combobox demo): Set the button type to button to prevent form submission. Fixes #6755 - Autocomplete: The combobox "show all" button submits forms.
Diffstat (limited to 'demos/autocomplete/combobox.html')
-rw-r--r--demos/autocomplete/combobox.html2
1 files changed, 1 insertions, 1 deletions
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 = $( "<button>&nbsp;</button>" )
+ this.button = $( "<button type='button'>&nbsp;</button>" )
.attr( "tabIndex", -1 )
.attr( "title", "Show All Items" )
.insertAfter( input )