autocomplete

AutoCompleteBox not retaining text

I have a Silverlight test project where I'm returning a List< ProductInfo > ... public class ProductInfo { public override string ToString() { return Name + " - " + Description; } public string Name { get; set; } public string Description { get; set; } } It is successfully returning the name and descripti...

Working example of jeditable and autocomplete working together

I see a lot of google posts on this but all seems to be talking about how this is in progress. Does anyone know of a working version of jeditable and autocomplete functionality working together so i can click on text and get a textbox and have autocomplete functionality working against that textbox EDIT: I am opening a bounty, as it s...

How to return nested, one to many relationship in a ASP.NET MVC json response?

How would you format a Json response to include nested, one to many related data? My simple JQuery Autocomplete example. The Linq2Sql is within. The first part of this question answered here. This uses a repository with Linq 2 SQL to send the response: public IQueryable GetProductIDs(string myPrefix, int limit) { return from z i...

JQuery: load html and click return value to input field

code below for a simple auto suggest box... however when I click a suggestion from the list it doesn't return the contents to the input box like it should. It doesn't recognize anything from the loaded html at all? JQUERY $(document).ready(function(){ $('#edit-name').keyup(function() { if ($(this).val().length >= 3) { bn...

How do I change YUI Autocomplete textfield Value population Options?

Data: JACKSON, MS 39212|39212 BAINVILLE, MT 59212|59212 CROOKSTON, NE 69212|69212 COLUMBIA, SC 29212|29212 SPOKANE, WA 99212|99212 Code: <form method="GET" target="_blank"> <fieldset><legend>remote example</legend> <label for="myRemoteInput">Enter a state:</label> <div id="myRemoteAutoComplete"> ...

ASP.NET AutoCompleteExtender-enabled TextBox's TextChanged-event doesn't fire when selecting certain kind of item from AutoCompleteExtender (whew...)

Hello, Today i faced a pretty weird problem, made of a stored procedure, an autocompleteextender and event handling. If anyone can suggest a concise title for the following saga, please do! First i'll try to introduce the players (some parts are a bit abridged) and then the scenarios. Environment is VS2008, C#, SQL Server 2005 and ASP....

What MIME type should I use for jQuery Autocomplete queries?

The jQuery Autocomplete plugin relies on an odd response format. Specifically, it's a newline-separated list of pipe-delimited pairs, the first entry of each pair being some formatted text, the latter being a JSON object with some data. An example: Fuzzy Bunnies|{ id: '1234-fuzzy-bunnies', type: 'slippers' } Loud Hawaiian Shirt|{ id: '...

Is it possible to make the auto-complete in netbeans not depend on a key-combination?

Is it possible to make the code-completion on Netbeans automatic, like on Aptana or Visual Studio? I've noticed that Netbeans can sometimes take a while to populate the list, so this might be asking a bit too much, but if possible, I'd like to somehow enable it. The onlything I've found in the options is the ability to set a custom key...

Make sure most recent SQL query result is used in autosuggest

Hi all, I'm using the PHP code below to get results to return to an autosuggest / autocomplete. The problem is that if an earlier SQL query takes longer to return from the database than the most recent SQL query then the results of the older query will be displayed in the autosuggest results box. So if you start searching for Thomas, it...

ms access auto fill main form based on focus of subform

i have a data entry/editing form with two combo boxes (Name and Group). Each Group correlates to multiple names but each name is in only one group. At the bottom of this form is a subform which is a continuous form displaying a query of the associated table filtered based on an unbound combo from which you select the group. Basically ...

jquery auto complete for dynamically generated textboxes

hi, i am new to jquery, i am working on a web page which needs generating text boxes dynamically with autocomplete facility. i tested $("#some").autocomplete(data); on some static content, it worked perfectly. however, when i try the same technique with dynamically generated text boxes it's not working! my code looks as follows: $(f...

Subversion Repository Autocomplete

Hey Guys, When entering something like svn checkout file:///var/svn/repos/my-projects I can use to autocomplete up to repos/ but after that I can't. I know that Subversion's files in the repository don't mirror a standard directory structure so that is probably the reason. However, if I'm checking out just one file its a pain to tr...

Auto-completion for names against a SQL database

I have a text field in my web app where I want to do auto-completion (e.g. the user types "St" and I can suggest "Steve"). The names I'm matching against are in a SQL database table of users. My question is, how can I make this happen in a way that will scale to massive amounts of users? There's DB full text search or something like ...

Text box with drop down suggestions

I currently have a databound dropdown list on my ASP.Net C# 2.0 website that has around 400 items in it. I want to replace it with something similar like the textbox in google search where you enter letter and only the entries starting with those letters pop up what is a good way of implementing it? Are there controls that already exist...

Faster multi-file keyword completion in Vim?

While searching for my python completion nirvana in vim, I have come to really love <C-x> <C-i>: "keywords in the current and included files". This almost always gets me a long nasty name from another module completed, which is great. (Omni-completion is obviously better when it works, but too often it reports it can't find any matches....

TypeAhead Feature TextBox Control Windows C#

I am using typeahead feature of TextBox .. all I want is that the Typeahead should show all the Items available in AutoCompleteStringCollection. Currently its suggesting me those string whcih starts with the characters that I type. What I need is the characters that I type can exist anywhere in the string not only at beginning. On Text...

Autocomplete "setup", jquery

I'm trying to get auto-complete working with a simple application that I'm building. Here is my code so far: gMeds = new Array(); $(document).ready(function(){ var autoComp = setUpAutoComplete(); if(autoComp) { $("#med").autocomplete(gMeds); } else { alert('Autocomplete unavailable'); } }); function ...

How to do HABTM management with auto completion in Rails?

I am looking for a good solution for a probably typical problem of managing models with HABTM association in Rails. Let's assume that we have two models -- products and categories: Products has_many :categorizations has_many :categories, :through => :categorizations Categories has_many :categorizations has_many :products, :thro...

Emacs how to auto-complete words of include files on C ?

How can I make Emacs to complete words that are in C include files ? #include <stdio.h> int main(){ print//<-- this is where I want it to complete printf What's the simplest way? (something simpler than Cedet) ...

jquery autocomplete with dwr

hi, has anyone tried using jquery autocomplete plugin with DWR as data source. i need autocompletion functionality for my page, but i am also using dwr instead of typical ajax call. i found one link regarding this, but i am unable to locate the source code for this! http://www.nabble.com/-autocomplete--jquery-%2B-dwr-td22691104s27240...