autocomplete

Can't get YUI Autocomplete to work

I've spent the last several hours reading through YUI docs and code and I'm not able to get this working. My remote data source is XML. I have a local proxy acting to retrieve the remote data. I've confirmed via Firebug that as I am typing in the input field, the requests are being sent off and the data is being returned. However, the ...

jQuery autocomplete with images

I want to implement an autocomplete feature with images in my website. I would like to use the jQuery autocomplete plugin. I had a look at their sample code. Can anyone explain me what the below code means in $(document).ready() event: $("#imageSearch").autocomplete("images.php", { width: 320, max: 4, highlight: false, scroll...

Collapsable autocomplete

How do i implement collapsable autocomplete in Jquery. I have a group and a group can have zero or many items. How do i implement this in Jquery. Thanks ...

What is a good setup for editing PHP in Emacs?

I'm going to be doing some PHP editing for my job this summer, and am looking for an effective Emacs setup for editing it. I'm already heavily invested in Emacs, so switching to another editor is not worthwhile. Right now, I have nXhtml-mode, which provides a PHP mode with syntax highlighting (there are at least three different ones in ...

Netbeans/Ruby - extraneous(?) autocomplete info

I'm getting a ton of (what I would call) extraneous autocomplete information in Ruby Netbeans 6.5.1. For example, if I type the name of a model object and then type a period (whether I'm in a controller or a view), it shows a dizzying dropdown list of thousands of methods, including several hundred different versions of the "new" method...

do not include required files into vim omnicompletion

If I try to autocomplete smth in a Ruby file, that has require 'xxx' statement, it starts to scan all files required (and files required by required files as well). and it does that every freakin time! Is it possible to make vim autocomplete to NOT scan required files or just files in particular path (e.g. app/ only)? ...

Autocomplete textfield

I'm trying to make an autocomplete textfield for my Rails app, following the Agile Web Development with Rails, 3rd Ed example. But if I simply paste their demo code in: <%= stylesheet_link_tag 'autocomplete' %> <h1>Editing user</h1> <% form_tag :action => 'update', :id => @user do %> <%= error_messages_for 'user' %> <p>Username<br...

Rails auto_complete plugin

I'm using the auto_complete plugin and have a simple autocomplete textfield by writing this in my controller: class PrivateMessagesController < ApplicationController auto_complete_for :role, :name and this in my view: <label for="recipient">To:</label> <%= text_field_with_auto_complete :role, :name %> I want to improve the au...

Optimum query delay for autocomplete

In a yui AutoComplete or similar how many milliseconds are you using as query delay (time between the last key input and the request to the server)? I recently changed the default value of an autocomplete cotrol similar to yui's from 750ms to 280ms using Keystroke-Level Model as a reference. Any other useful references out there? ...

XCode-like auto completion in vim (without tab)?

Greetings. I've been using vim for years, and I've recently started toying with XCode. One of the things I really like about XCode is that it will auto complete words without me hitting <TAB>. For instance, in this image below I only need to type NSSObj and the rest is filled in automatically, no special keystroke required. I'd like...

JQuery Autocomplete textbox

How do I implement Autocomplete with JQuery when I click on Textbox with out typing anything. The String[] will return a pre built list. ...

Formatting data for jQuery Autocomplete results

I have some data which I am formatting like this: // ... imagine populating a SqlDataReader with some results ... var results = new StringBuilder(); while (reader.Read()) { results.AppendFormat("{0}, {1}\n", reader["name"], reader["emailAddress"]); } return results.ToString(); My controller action is pretty simple: public...

jQuery Autocomplete images with options

Dear Techies, I am a newbie to jQuery.But really fascinated on it.Hats off to jQuery Team I have an aspx page where i want to implement an auto complete feature for a text box where user will type to search products.If they type,I wanto to show products with name a and their images to in the option.I have a DB table with 3 columns Pro...

How can I program ksh93 to use bash autocompletion?

In a comment in response to a shell question, user tinkertim said that it was easy to hack ksh to use the bash autocompletion library. I would like nothing better than to use bash autocompletion with AT&T ksh93. How can this be done? ksh93 has a new release several times a year, so I am looking for a solution that does not involve mod...

How do I make the autocomplete list for a TextBox editable?

I have an application with a lot of TextBox controls that use autocomplete. Each one uses AutoCompleteMode.CustomSource to get the autocomplete text from an associated AutoCompleteStringCollection. Whenever the user enters a new value in the TextBox, it gets added to the associated AutoCompleteStringCollection, and at the end of the se...

AutoComplete TextBox in WPF

Hi, Can we make textbox to autocomplete in WPF? I found a sample where a combox box is used and the traingle is removed by editing style template. Do we better solution for autocomplete textbox? Thanks in advance Sharath ...

How can I make auto-complete display a list in Xcode

How can I use auto-complete in Xcode like I can in Visual Studio and Eclipse? Specifically in VS and Eclipse auto-complete displays a list of choices... while Xcode just displays a single choice. For example Xcode might suggest "myVariable" when I type in "myV". That's fine but what if I have the following objects in the scope of my...

Help required on JQuery Autocomplete plugin

Hey guyz need some help with JQuery. I have a requirement in my project to provide an autocomplete feature for a textBox like the one recently applied on google. I need to fetch data on each keystroke so I am calling a JQuery fuction on keypress. The problem is the Autocomplete feature gets triggered on mouse click in the textBox and not...

Visual Studio 2008 custom config xsd intellisense auto complete broken!

Hi, I used to use the intellisense feature within visual studio 2003 for editing a custom .config file against my custom xsd schema. I put the schema in: Common7\Packages\schemas\xml Everything worked happily, no problem. I have just tried to do the same in VS 2008 and there is no intellisense. The schema viewer for the .config file...

Highlight multiple keywords for jQuery.autocomplete

I'm using the jQuery Autocomplete plugin, but I'm having some problems with the result highlighting. When a match is found, but the entered keyword contains spaces, there's no highlighting. Example: search = "foo", result = "foo bar", displayed = "foo bar" search = "foo ba", result = "foo bar", displayed = "foo bar" So, I'm trying to ...