Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let inputPaseUnico = document.querySelector('#input');
- let cantidadPasesUnicos = Number(inputPaseUnico.value);
- inputPaseUnico.addEventListener('click', function() {
- console.log(cantidadPasesUnicos); //aqui imprime siempre 0
- if(cantidadPasesUnicos !== 0) {
- inputPaseUnico.disbled = false;
- }
- });
Add Comment
Please, Sign In to add comment