3zz*_*zzy 5 javascript jquery events autocomplete autofill
无论如何,在用户从下拉列表中选择一个选项之前,我可以检测到自动填充吗?
预期:400010
如所见.
目前我有:
$('input').on('input paste change keyup', function(event) {
if(event.type=='input'){
console.log( $(this).val() );
}
});
Run Code Online (Sandbox Code Playgroud)
..并且它在用户做出选择之后有效,但在上面的屏幕截图中看不到.