find word in array
var example_array = ['Rahul','Rajesh','Sonu','Siddhi','Mark','George'];
function checkArray(value,array)
{
var status = 'Absent';
for(var i=0; i<array.length; i++)
{
var name = array[i];
if(name == value){
status = 'Present';
break;
}
}
return status;
}