Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#7036 closed bug (invalid)

$.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)

English_100_7000.html (33.9 KB) - added by yun_cn 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by yun_cn

Attachment: English_100_7000.html added

comment:1 Changed 9 years ago by john

Component: unfiledcore
Resolution: invalid
Status: newclosed

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

comment:2 in reply to:  1 ; Changed 9 years ago by yun_cn

Replying to 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.

comment:3 in reply to:  2 Changed 9 years ago by patrickwhalen

Replying to 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

Note: See TracTickets for help on using tickets.