diff options
author | Mario Visic <mario@mariovisic.com> | 2010-12-16 18:10:30 +0800 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-12-16 08:00:56 -0500 |
commit | ffc08557ad764d7aca17ea1c6e75a62f6eb65c15 (patch) | |
tree | 3e21cf2cd30642e68fcf8ebba064335e33097771 /demos | |
parent | cba92afe257e51e18ca2bb2161559e8928e82fad (diff) | |
download | jquery-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.html | 2 |
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> </button>" ) + this.button = $( "<button type='button'> </button>" ) .attr( "tabIndex", -1 ) .attr( "title", "Show All Items" ) .insertAfter( input ) |