aboutsummaryrefslogtreecommitdiffstats
path: root/demos
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 08:00:56 -0500
commitffc08557ad764d7aca17ea1c6e75a62f6eb65c15 (patch)
tree3e21cf2cd30642e68fcf8ebba064335e33097771 /demos
parentcba92afe257e51e18ca2bb2161559e8928e82fad (diff)
downloadjquery-ui-ffc08557ad764d7aca17ea1c6e75a62f6eb65c15.tar.gz
jquery-ui-ffc08557ad764d7aca17ea1c6e75a62f6eb65c15.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')
-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 )