Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Arrays


  • From: javascript@xxxxxxxxxx (Bill Marriott)
  • Subject: [Javascript] Arrays
  • Date: Wed, 21 Aug 2002 22:32:04 +1000

Hi Everyone,

I am having trouble finding a way to work through a 2 member array and
search for rows that have identical values.

MyArray [0][0] = 2000,  MyArray [0][1] = "t"
MyArray [1][0] = 2000,  MyArray [1][1] = "f"
MyArray [2][0] = 2001,  MyArray [2][1] = "t"
MyArray [3][0] = 2001,  MyArray [3][1] = "t"

I want to find out that rows 3 and 4 in the above array have identical
values.
Does anyone know an easy way?

thanks

Bill Marriott