suggest

How can I auto filter a HTML selectlist?

I have a HTML select list with quite a few (1000+) names. I have a javascript in place which will select the first matching name if someone starts typing. This matching looks at the start of the item: var optionsLength = dropdownlist.options.length; for (var n=0; n < optionsLength; n++) { var optionText = dropdownlist.options[n...

"suggest" feature for textboxes in a rails app

I'm looking for an easiest way how to implement the "suggest" feature for a text entry field in a Rails application. The idea is to complete names stored in a database column, giving the user a drop-down menu of possible matches as he types. Thanks for any suggestions! ...

How to implement Google Suggest in your own web application (e.g. using Python)

In my website, users have the possibility to store links. During typing the internet address into the designated field I would like to display a suggest/autocomplete box similar to Google Suggest or the Chrome Omnibar. Example: User is typing as URL: http://www.sta Suggestions which would be displayed: http://www.staples.com http:...

Best RDBMS for use from VB6

We are embarking on a grand/huge project which will take us around 1 full year of coding (by 4 developers) to get off the launch pad. It is a complete Business Management System. We can use any commercially available RDBMS like Oracle, MS SQL Server, etc. but we are looking out to use freeware and open source RDBMS system like FireBird...

A SuggestBox for wxPython?

Is there a widget for wxPython like the SuggestBox in Google Web Toolkit? It is basically a magic text box that can invoke some code to come up with suggestions relevant to whatever the user has entered so far. Like the search box on Google's web page. If such a widget isn't already floating out there, I'd appreciate a sketch of how I m...

JavaScript Auto suggest to update multiple fields

I have a simple autocomplete field that spits out a bunch of suggested words and puts it in the suggest field. Is there an auto suggest code that can enter the selected text but also auto fill a range of other fields instead of the selected field? For example, searching through a contacts list you type their name or address and it sugge...

Dynamic mql_filter on Freebase Suggest

Is it possible to dynamically add an mql_filter to constrain results from a Freebase Suggest control? $(function() { $("#button").onclick(function() { // add an mql_filter to #film, a Freebase Suggest control }); $("#film").suggest({type:'/film/film'}); }); ...

ajax(search suggest) funny character problem

ajax(search suggest), if input funny character(like Ô) and submit it, "?" is displayed in *.asp. ( response.write (request.form("str"))) i am using xmlhttp.open("post", "*****.asp", true); xmlhttp.setRequestHeader('Content-type','application/x-www-form-urlencoded; charset=UTF-8'); xmlhttp.send("str="+escape($("str").value)); and the...

ajax search suggest escape encoding

if encoding using escape(data) in javascript, how to decode it in server side? I use ajax to post encoding data with escape javascript function, how can I decode it at the server side with classic asp ...

Anybody knows how to make the JSon suggest close on click?

hi guys, i'm using this json suggest box and i was wondering if there's a way to include an option to make it close when the user click on somewhere else? else right now unless the user select something, the suggest box will never close. Or is there another suggest box out there that i can use? basically my data are in json format. ...

ajax multi-threaded

Can do use ajax to achieve true multi-threaded?if can ,how to do? please give me some related information,web site or books. thanks ~! ...

C++ warning: suggest parentheses around arithmetic in operand of |

Hi I have a code like A = B|C|D|E; Throwing the warning "suggest parentheses around arithmetic in operand of |" Expecting that expression needs high priority paranthesis for operators, tried the following ways: A=(B|C)|(D|E); one more as : A=(((B|C)|D)|E); Still the same warning persists. Please help me in resolving this. ...

Tag suggestion plugin ala Stackoverflow tags

I love the way StackOverflow handles tags. Is there any jQuery plugin that would duplicate the behavior? I found this jQuery Tag Suggest but it's not near as good. Any suggestions? ...

Any suggest to store a value in a lambda expression

Hi, I'm trying to write an in-line function for count occurrences of a word in a string using lambda expressions recursively. The function: Func<string, string, int> getOccurrences = null; getOccurrences = (text, searchTerm) => text.IndexOf(searchTerm, StringComparison.OrdinalIgnoreCase) == -1 ? 0 : getOccurrences( text.Su...