javascript queryselectorall get contents code example
Example 1: js queryselector find without attribute
var test = document.querySelectorAll('input[value][type="checkbox"]:not([value=""])');
Example 2: 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 );
});
}
});