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 07:59:37 -0500 |
commit | cf48a3c5c8da7bc90a9424e333d53d0e178e7885 (patch) | |
tree | 841c579d3f5c807b25f60237550016540c0b5f68 /demos/autocomplete/combobox.html | |
parent | 6731b0e2d60a16611c25cd248318a4076bd4494d (diff) | |
download | jquery-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.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 ) |