problem with 2 jquery autocomplete on same page -


I have two jquery auto-complete fields, which are with the same source url, which can be used by 2 different modules Are injected.

  • When I first type something in autocomplete, then I get the result of hanging.

  • Then I second auto

  • But if I type in autocomplete first, then this result does not show this request Etc., but this does not display results.

The generated code on the page looks below:

  $ ('# someid1'). Autocomplete (url, {width: 200, selectFirst: wrong, minChars: 1, matchContains: true, cache lamp: 1}); $ ('# Some AD2') Autocomplete (URL, {width: 200, selection first: false, miners: 1, match canteen: true, cash length: 1});  

Any help / suggestions? -

Maybe no answer, but did you know that you have only one Like autocomplete () ,

  $ ('# someid1, # ​​someid1'). Autocomplete Url, {width: 200, selectFirst: wrong, minChars: 1, matchContains: true, cache lamp: 1});  

Just separate it with a comma ...


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -