FireFox capture autocomplete input change event

后端 未结 6 1724
梦毁少年i
梦毁少年i 2020-12-10 03:52

I\'m trying to subscribe to change events on an input tag for an ajax auto complete form. These change events are not firing when the user clicks an autocomplete suggestion

6条回答
  •  醉话见心
    2020-12-10 04:06

    I've had the same problem.

    Apparently, there is password manager debugging available https://wiki.mozilla.org/Firefox:Password_Manager_Debugging

    So I've found that for me DOMAutoComplete event got triggered and I've managed to attach it sucessfuly to a field via jQuery's bind like

    $('#email').bind('DOMAutoComplete',function() { ...
    

提交回复
热议问题