JQuery $.unique() issue ie
Posted
by vanzylv
on Stack Overflow
See other posts from Stack Overflow
or by vanzylv
Published on 2010-04-23T12:27:16Z
Indexed on
2010/04/23
12:33 UTC
Read the original article
Hit count: 210
jQuery
Hi Guys
var arr = new Array();
arr[0] = 'Departmental News'
arr[1] = 'Departmental News'
arr[2] = 'Another Cat'
arr[3] = 'Another Cat'
arr[4] = 'Departmental News'
alert(arr)
alert($.unique(arr))
In IE I get duplicates. In any other browser only the unique ones
Any Ideas?
© Stack Overflow or respective owner