Javascript HTML5 Array search and Return from HTML5 text box if in array
<p>I am trying to input a name in textbox (html5) search values in array(javascript) and return value from textbox if it's in the array. </p>

<p>Basically I need to-- if search == arrayelement[i] display [i] else... Any guidance on where to start?</p>