if ( -1 == $.inArray(new_value,old_array)){
old_array.push(new_value);//alert(new_value+"此值不存在于数组");
}
jQuery.inArray( value, array [, fromIndex ] )
在数组中查找指定值并返回它的索引(如果没有找到,则返回-1)。