yui-autocomplete

yahoo autocomplete

I'm kind of like stuck trying to implement YUI autocomplete textbox. here's the code: <div id="myAutoComplete"> <input id="myInput" type="text" /> <div id="myContainer"></div> </div> <script type="text/javascript"> YAHOO.example.BasicRemote = function() { oDS = new YAHOO.util.XHRDataSource("../User/Home2.aspx"); // Set the responseTy...

Dynamically added JavaScript not finding dynamically added fields in IE

Hi, I have a table which has a button to "Add Rows". This button adds a row dynamically with JQuery. It works by copying the first ... and then replacing all the id=".." with an incremented number. The problem is that the rows have a YUI AutoComplete which looks like the following: <td> <input type="hidden" name="location_num[0]" ...

Make Yahoo UI autocomplete work with WCF REST webservice

Hi, I need to implement autocomplete functionality using Yahoo UI autocomplete (http://developer.yahoo.com/yui/autocomplete/). The datasource for this autocomplete feature is a WCF REST service. Can anyone post sample code for this scenario. Thanks ...

YUI AutoComplete: how do you get it to expand when the input is selected?

I've got a YUI AutoComplete control, works great. Except that I'd like it to expand the list of suggestions as soon as the user selects the input box. How do I make that happen? Right now expansion doesn't happen until the user hits a key in the box. ...

yui-autocomplete

Hi, Two questions regarding yui autocomplete: Is there a way to make yui autocomplete mouse selection and keyboard up/down selection create only one selection at any time ? Also is there any way to update the text in the autocomplete textbox with the selection done with keyboard up/down arrow only ie force the selection to appear in...

YUI AutoComplete itemSelect - how do I know which key was pressed to do selection?

I have a handler for itemSelectEvent that gets called when an option is selected from the drop down. According to YUI documentation, this is fired when an item is selected via mouse click, ENTER key, or TAB key. Inside my handler, how can I find out which of these three options fired my handler? The handler takes two parameters: 1) the t...