I am using the jQuery UI autocomplete Nifty 'Kamboox' version - see here:
< P> I get it within a form element because the part of a form. Autocomplete combobox includes a & lt; Button & gt;
is used to show the full drop down list, however, when the user presses it, the form is submitted. This appears because & lt; Button & gt;
has a type = "submit"
attribute. The whole element is created by the button ()
call code .combobox
fn, see s.
How do I stop submitting him?
(NB: There was only one problem but he decided to remove it from form
- I can not do this)
< Div class = "post-text" itemprop = "text">
Ah, never, I know this.
Here's a discussion on the jQuery forum:
Various ways to adjust the source code of the autocomplete combo to fix it. The simplest seems to be:
Replace the row called
$ ("& lt; button & gt; & amp; nbsp; & lt; / button & gt; ; ")
$ ("
This prevents the type =" submit "
by putting it in the last button.
Comments
Post a Comment