function setFound(){
var l = arr.length, textBox1 = document.getElementById("text1");
for(var i=0; i
This program checks whether the given element is found or not. Id
text1 represents id of textbox and searchele represents element to be
searched (got fron user); if you want index, use i value