How do I ignore the reading of the first value of an array? I do not want to remove the same, just want to display, do not appear the same:
I've already done this:
document.querySelectorAll('.form .form-control').forEach(function (a) {
console.log(a.value);
});
<form class="form">
<input type="hidden" class="form-control" value="Não é pra aparecer">
<input type="text" class="form-control" value="Teste1">
<input type="text" class="form-control" value="Teste2">
<input type="text" class="form-control" value="Teste3">
</form>
The first input as you can see, it's just an input of the hidden type and I do not want the value to appear, but I do not want it to be removed either ... Does anyone give me a light?
Thank you!