Solved

Jquery autocomplete changes

Posted on 2011-09-21
6
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

749 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