This is a multi-part message in MIME format. --------------010901030706070704000604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi all, I hope this is the right forum for this question ... I've included a sample page which demonstrates the problem. I am trying to implement an autosuggest drop down box and have built one up from an example on the web. It works in IE, Firefox, Ephiphany and to an extent in Opera. Unfortunately in Konqueror, the drop down box does not appear. Does anyone have any experience of writing these for Konqueror, or know of any pitfalls that one needs to be aware of? When I've tested what keyCodes are returned when pressing keys in the input, it comes back with 0 each time in Konqueror but the expected keys on the other browsers, so I suspect it is the way the keyCodes are being picked up that is the problem. The keypresses on the text input are registered to the autoSuggest object using this.textbox.onkeydown = function (oEvent) { if (!oEvent) oEvent = window.event; oThis.handleKeyDown(oEvent); }; (where oThis is a reference to an AutoSuggestControl object) etc for other key presses, and the autoSuggest object handles these as ... AutoSuggestControl.prototype.handleKeyUp = function (oEvent) { var iKeyCode = oEvent.keyCode; // alert(iKeyCode); if (iKeyCode == 8 || iKeyCode == 46) this.provider.requestSuggestions(this, false); if (iKeyCode < 32 || (iKeyCode >= 33 && iKeyCode <= 46) || (iKeyCode >= 112 && iKeyCode <= 123)) { //ignore } else { this.provider.requestSuggestions(this); } }; When I check the keyCodes here they are 0 in Konqueror. How can you extract the keys from events in Konqueror and on what elements? Does anyone have any good sources for event programming on Konqueror, in particular picking up key presses? Thank in advance for any pointers Regards Neill Jones --------------010901030706070704000604 Content-Type: text/html; name="autosuggest.html" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="autosuggest.html"

In Konqueror, the key presses for up down and enter arrows are not registered (all key presses come back with a keyCode of 0). Is this because Konqueror only registers keyCodes on text inputs (and the key presses are on the divs of the drop-down box)? Does anyone know of any other methods that also work with Konqueror? (Tested on Konqueror 3.5.4).

Type in M to see autocompletion for US States in Firefox but not Konqueror.

--------------010901030706070704000604-- ___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use"  The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html