var passNueva = document.getElementById("passNueva").value; var passNueva2 = document.getElementById("passNueva2").value;