Trying to check the elements of an array i have created with var newArr = new Array();
These array elements are pieces of text that i am using on buttons.
How can i check the contents of the array to see if one is still in it? The location of the text in the array doesnt stay constant so i cant check a specific spot in it. Here is what i tried but I dont think i have the right syntax.
var toolBeltList = new Array();
function ReplaceTool()//when called check the array elements for this text, if false do something
{
if(toolBeltList!=("Tool01"))
{
box01=true;
}
}