Javascript detect a selection of browser AutoComplete value
问题 I have a text field with an onkeyup event. But this event is not fired when I select a browser autoComplete value. I have added an onclick event, but it doesn't work. I have tested many solutions posted on stackoverflow for catching the browse autocoComplete selection, but nothing has resolved this problem. Try this simple example to see the issue (reproduced on Firefox 3.6, Chrome 10.0 and IE8): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD