How can I check if an array exists in an array of arrays ? I have tried either plain javascript and jquery methods but none seems to help.
IE this doesn't work:
$.inArray( [1,2], [[0], [], [1,2]] )
Even a more simple one:
[1,2] == [1,2] //gives false.
[1,2] === [1,2] //gives false.
ORDER is NOT important for my task, only same elements existing is neccesary.