Revision: 11758
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at February 17, 2009 13:15 by jlvallelonga
                            
                            Initial Code
function isValueInArray(arr, val) {
	inArray = false;
	for (i = 0; i < arr.length; i++)
		if (val == arr[i])
			inArray = true;
	return inArray;
}
                                Initial URL
Initial Description
this function tells you whether or not the passed value is in the passed array
Initial Title
is value in array
Initial Tags
javascript, array, find
Initial Language
JavaScript