Side navigation
#235 closed (duplicate)
Opened October 04, 2006 03:44PM UTC
Closed October 06, 2006 02:32PM UTC
Last modified June 21, 2007 02:27AM UTC
Simon
Reported by: | 3568@emailias.com | Owned by: | |
---|---|---|---|
Priority: | Milestone: | ||
Component: | Version: | ||
Keywords: | Simon,SPAM | Cc: | |
Blocked by: | Blocking: |
Description
if we have var s1=$('td.s1'), s2=$('td.s2') then s1.add(s2) is expected to add all elements of set s2 into set s1, but instead it's adding whole set s2 as one element of s1 which forces me to write expanding code like that: s2.each(function(){s1.add(this)})
Attachments (0)
Change History (4)
Changed October 06, 2006 02:32PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Changed November 10, 2006 11:28PM UTC by comment:2
cc: | → Simon |
---|---|
component: | → 1 |
keywords: | add set merge → Simon |
milestone: | → 1 |
priority: | → 1 |
summary: | add does not merge sets → Simon |
type: | → 1 |
version: | → 1 |
Changed October 24, 2010 09:22PM UTC by comment:3
component: | 1 |
---|---|
milestone: | 1 |
priority: | 1 |
type: | 1 |
version: | 1 |
Changed October 24, 2010 09:28PM UTC by comment:4
cc: | Simon |
---|---|
keywords: | Simon → Simon,SPAM |
Summarized in http://jquery.com/dev/bugs/bug/252/