Solved

Jquery autocomplete changes

Posted on 2011-09-21
6
296 Views
Last Modified: 2012-05-12
I have used jquery autocomplete plugin. and it works great for me.

Now I need to start autocomplete a little bit differently. The user will type the name
and click on search so After that click I wanto initialize the autocomplete

0
Comment
Question by:erikTsomik
  • 3
  • 3
6 Comments
 
LVL 82

Expert Comment

by:leakim971
ID: 36576795
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 36576885
it works but works partially. I only want to do the search when I clicked on the search button. In mu case I can do both
0
 
LVL 82

Expert Comment

by:leakim971
ID: 36576898
the minimum length for a search term is increased to (an arbitrary) 1000 characters.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 19

Author Comment

by:erikTsomik
ID: 36576925
that is fixed. Now if you clicked on the button once after that you can start typing and get the results without clicking on the search button again
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 36577093
I am still getting this behavior
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 36577122
you need to set the close too to set back the minlength

close: function(event, ui) {
        $('#tags').autocomplete('option', 'minLength', 1000);
    }
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
This article discusses how to create an extensible mechanism for linked drop downs.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question