, the browser somet...">

Browser text field auto-complete event, when will this happen?

If I dont put autocomplete="off"in mine <input type="text" />, the browser sometimes fills them with probable / remembered data.

When does this happen in the life cycle of a DOM load?

It seems that after:

$(function(){ alert('i happen before autocomplete'); });

Is there a dom-load event that occurs after an autocomplete form?

If so, what is it?

If not, meh, what can I do to execute JS "on page load", but after autocomplete?

Solutions must be cross-browser

thanks

Andrew

+3
source share
1 answer

$(window).load(callback) . , ( ..), DOM $(document).ready.

100% , , DOM.

"", DOM :

$(document).ready(function() {
    $('input').one('click', function() { 
        // do whatever you wanted to do when it first changed
    });
});

. , , .

+4

Source: https://habr.com/ru/post/1720099/


All Articles