Side navigation
#10155 closed feature (invalid)
Opened August 28, 2011 08:42AM UTC
Closed August 28, 2011 04:56PM UTC
$.unique maintain order
| Reported by: | ntos@163.com | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | core | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
$.unique("[1,2,3,6,2,5]")
return 5,1,3,2,6
Can maintain the original order
return 1,2,3,6,5
Attachments (0)
Change History (1)
Changed August 28, 2011 04:56PM UTC by comment:1
| _comment0: | http://api.jquery.com/jquery.unique/ \ \ > Description: Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on > arrays of DOM elements, not strings or numbers. \ > version added: 1.1.3 → 1314550596944619 |
|---|---|
| component: | unfiled → core |
| priority: | undecided → low |
| resolution: | → invalid |
| status: | new → closed |
http://api.jquery.com/jquery.unique/