wowrang

08-03-2006, 02:12 AM

I am new to JavaScript programming. Could any one help me in solving this problem? My problem is to find the duplicate value in the array.

I have a single dimension array with the following data stored on it.

a[0] = 1~1~10

a[1] = 1~2~11

a[2] = 1~3~15

a[3] = 1~4~19

a[5] = 1~6~10

Here in my case a[0] and a[5] is duplicate because i am using 1 or 0 for active and deactivate purpose a[4] is deactivate value so we can ignore the 10 in this. so in my case 10 is repeated twice on a[0]and a[5] not a[4], so its duplicate value. can any one help me to solve this.

Thanks you.

wowrang.

I have a single dimension array with the following data stored on it.

a[0] = 1~1~10

a[1] = 1~2~11

a[2] = 1~3~15

a[3] = 1~4~19

a[5] = 1~6~10

Here in my case a[0] and a[5] is duplicate because i am using 1 or 0 for active and deactivate purpose a[4] is deactivate value so we can ignore the 10 in this. so in my case 10 is repeated twice on a[0]and a[5] not a[4], so its duplicate value. can any one help me to solve this.

Thanks you.

wowrang.