This can be done using map&reduce or other functions, but they are only
supported in Firefox atm.
Writing a double for loop is easy to code and wider supported.

~Sean

On 8/28/07, Potluri <[EMAIL PROTECTED]> wrote:
>
>
>
> Is there a jquery way to compare two arrays without looping.
>
> like I have an array1 [a,b,1,2,3]
> and array2 [b,c,d,11 ].
>
> Is there a way like array1.compare(array2). which returns true if atleast
> one element among the 2 arrays matches.
>
> Straight answers are appreciated.
>
> Regards,
> Vijay Potluri
> --
> View this message in context:
> http://www.nabble.com/compare-two-arrays-tf4344387s15494.html#a12376633
> Sent from the JQuery mailing list archive at Nabble.com.
>
>

Reply via email to