📅  最后修改于: 2022-03-11 15:01:41.935000             🧑  作者: Mango
var nome_cognome = document.querySelectorAll('.modal.fade input').forEach((input) => {
if ( input.classList.contains('.nome-cognome') ) {
input.addEventListener('keypress', () => {
console.log( input.value );
});
}
});