Ad Code

JavaScript is in array

var blockedTile = new Array("118", "67", "190", "43", "135", "520");
if(blockedTile.indexOf("118") != -1)
{  
   // element found
}
 
if(blockedTile.indexOf("118") == -1)
{  
   // element not found
}

Post a Comment

0 Comments