Skip to main content

Bug Tracker

Side navigation

#7036 closed bug (invalid)

Opened September 15, 2010 08:08AM UTC

Closed September 15, 2010 03:29PM UTC

Last modified September 15, 2010 05:20PM UTC

$.unique() does not work correctly in Google Chrome

Reported by: yun_cn Owned by:
Priority: Milestone: 1.4.3
Component: core Version: 1.4.2
Keywords: unique, Cc:
Blocked by: Blocking:
Description

$.unique() does not work correctly in Google Chrome even though it works in Firefox 3.9 correctly.

I have an example in

http://wodehome.hp.infoseek.co.jp/english/English_100_7000.html

around line 100.

Attachments (1)
Change History (3)

Changed September 15, 2010 03:29PM UTC by john comment:1

component: unfiledcore
resolution: → invalid
status: newclosed

$.unique() is only designed to work on DOM nodes, not on arrays of strings.

Changed September 15, 2010 03:52PM UTC by yun_cn comment:2

Replying to [comment:1 john]:

$.unique() is only designed to work on DOM nodes, not on arrays of strings.

Thanks a lot for your quick replay. Are there any efficient way to unique an array with strings with jquery? I appreciate any suggestion. I have added it to the array prototype but I don't think it as the best way.

Changed September 15, 2010 05:20PM UTC by patrickwhalen comment:3

Replying to [comment:2 yun_cn]:

Are there any efficient way to unique an array with strings with jquery?

This sort of question is probably better placed in a support forum instead of a bug tracker.

http://stackoverflow.com/questions/tagged/jquery