autocompleter

Scriptaculous Ajax.Autocompleter extra functionality in LI

I'm using the Ajax.Autocompleter class from the Prototype/Scriptaculous library which calls an ASP.NET WebHandler which creates an unordered list with list items that contain suggestions. Now I'm working on a page where you can add suggestions to a 'stop words' table, which means that if they occur in the table, they won't be suggested ...

Script.aculo.us Autocompleter problem in IE

I'm struggling with a problem with the Script.aculo.us Autocompleter control in IE (I've tried it in IE6 & 7). The suggestions fail to appear for the first character is entered into the text box after the page has been loaded. After that initial failure, the control works as it should. I've verified that the suggestions data is returned...

How do I make an Ajax.Autocompleter perform a request without typing?

I'm using scriptaculous's Ajax.Autocompleter for a search with different filters. http://github.com/madrobby/scriptaculous/wikis/ajax-autocompleter The filters are requiring me to pass data into the autocompleter dynamically, which I've successfully learned to do from the following link. http://www.simpltry.com/2007/01/30/ajaxautoco...

Executing javascript code upon the load (and inside) of a javascript Modalbox

Hi, What i'm exactly trying to do is make my script.aculo.us Autocompleter work for my form when it is loaded inside a Modalbox object. Of course, i've tried my Autocompleter when loading the form as standalone and it works just as expected. For reference, here is my JS code loading the feature: Event.observe(window, 'load', function...

How do you use POST with jQuery Autocompleter?

jQuery v1.2.6 jQuery.autocompleter plugin v1.1pre (from jQuery's website) I am not able to submit with 'type: "POST"' back to my webservice. I can't get it to be recognized by the autocompleter. Thoughts? This code below works fine, as long as I look for the "q" querystring. But, I would like to use this for more advanced features ...

Entire list being populated in the Ajax.autocompleter function

I have implemented the auto complete functionality using the Ajax.autocompleter function of the Scriptaculous js framework. The code is working, but I get the entire list populated instead of populating only the entries that match with the letter I have specified. This is my code: This is the js function to get the auto-suggested entrie...

problem of entering text in combobox created by using <sx:autocompleter>

im trying to use autocompleter tag for displaying autosugget in my application,but with the following code i am not able to write in the combo box but has a populated list which is displayed when down arrow image(along with the combo box) is pressed. <sx:autocompleter list="state" name="StateName" list="{'CA','TR','GP','CL'}" searchT...

why is Ajax.Autocompleter setting the style for the div container for the results to display:none ?

my autocomplete call is showing nothing right now, because the div that i am inserting the ul into has its style set to display:none. using firebug, i can see the results are returned in a proper unordered list tag and when i edit the html from the firebug console and remove the style="display:none;", i see the autocomplete results. i ad...

AutoCompletion with the editor

I find that the autocompletion capability with the programming editor is a mixed blessing. Sometimes it anticipates correctly, or, when multiple choices might come from what is already typed, it advances to the next logical point, and typing the next expected letter moves it in the right direction. Reaaly sweet when it works right. Ho...

Jquery autocomplete not firing on keyup unless focus changes

I am using a jquery autocomplete and i have a keyup event for my textbox. When I enter in a letter the function is called but the box is not populated. Once I click away from the box and then click back into it the autocomplete works great. Really weird issue and I have no idea how to fix it. Any help would be appreciated. here's my ...

Autocomplete jQuery 1.8-UI JSON Format

I'm toying with the new autocomplete in jQuery 1.8-UI. I've provided data in the following format ["val1", "val2", "val3"] This is coming from a stored procedure but output as a string. For some reason this doesn't work at all, however, if I supply the same data using a javascript variable var data = ["val1", "val2", "val3"]; The...

How to set different width for INPUT and DIV elements with Scriptaculous Ajax.Autocompleter?

Hello, I am working on autocompleter box based on Scriptaculous Ajax.Autocompleter. It works in general, but I need to have list of choices wider (see image -- green line -- 320px) then input box (see image -- red line -- 155px). My first try was to set various width with CSS classes (like above), but it didn't work -- list of choices...

Problem with scriptaculous autocompleter.local

I'm having a problem with Autocompleter.Local. In my list of strings, I have some choices that are substrings of others. For example, "Office" is a substring of "Office park". If I type "Offic", both choices show up. If I type "Office", only "Office park" shows up as a choice. I have tried messing with partialSearch and fullSearch o...

scriptaculous ajax autocompleter

Hi there. Pls I am using scriptaculous ajax autocompleter, and I am having difficulties trying to get it to do what i want. You know when you start typing in the search form and a drop down list possible results start coming up, from that list I am trying to get it that when i click on one of the possible answers, it performs another s...

Initializing a javascript class from inside a function

I'm trying to initialize a javascript class from inside a function. The class is a mootools class in a separate .js file. To be specific, this one: http://digitarald.de/project/autocompleter/ For my application I've created a function which gets called after a user clicks on a link. This function is in a separate file and is called edit...