Detecting autocomplete on form input with jQuery

前端 未结 9 1818
闹比i
闹比i 2020-12-15 03:50

I have a form that detects if all the text-fields are valid on each keyup() and focus(); if they\'re all valid, it will enable the submit button for the user to press. Howev

9条回答
  •  情书的邮戳
    2020-12-15 04:04

    Myself I used

    $(selector).on("change keyup blur input", function() {});
    

    which did the trick in Chrome. input is what made it work for autocomplete.

提交回复
热议问题