5
I need the same method to be called in two events, that is, in the page load the data, and if the input value is changed load the code again.
($("#cpf_cnpj").load(function() or $("#cpf_cnpj").focusout(function()) {
codigo
}
How is the correct way to do according to the illustration above?
.ready
is only used in the context ofdocument
, better explain which events.– Guilherme Nascimento