Solved

Jquery autocomplete changes

Posted on 2011-09-21
6
299 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

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

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

840 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