Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

queryselector change alternative

var nome_cognome = document.querySelectorAll('.modal.fade input').forEach((input) => {
	if ( input.classList.contains('.nome-cognome') ) {
		input.addEventListener('keypress', () => {
		    console.log( input.value );
		});
	}
});
 
PREVIOUS NEXT
Tagged: #queryselector #change #alternative
ADD COMMENT
Topic
Name
3+9 =