?
Solved

Jquery autocomplete changes

Posted on 2011-09-21
6
Medium Priority
?
305 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

766 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