I would like to create a input
that receives a value entered by the user and that when I click a button it executes a function that checks if the value entered exists in my array and if there is an index it is contained.
var vetor = [1, 2, 3];<br>
var elemento = document.getElementById("verifica").value;
<.input type='text' id="verifica">