Skip to main content

Bug Tracker

Side navigation

#7333 closed bug ()

Opened October 27, 2010 07:06PM UTC

Closed November 11, 2010 11:09PM UTC

bug report

Reported by: westlife1127 Owned by: westlife1127
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:
Description

hi,

i meet a bug when testing my codes .

the codes go below:

$("button#btn1").click(function(){
								$("img#222").append($("img#111").clone())  
											  });

the browser reminds:"accidently call the visits to methods or attributes" (translated from Chinese).

the codes donot work unless set "body" as the ".append()" method selector,regardlessly any other elements.

neverthlessly,by "body" selector still occurs uncorrect location(append to wrong place).

refer to browsers reminds,i find the original jQuery codes:

" append: function() {

return this.domManip(arguments, true, function( elem ) {

if ( this.nodeType === 1 ) {

this.appendChild( elem );

}

});

},

".

what are your suggestions?

regards

yours

Attachments (0)
Change History (2)

Changed October 27, 2010 07:41PM UTC by rwaldron comment:1

owner: → westlife1127
status: newpending

Please provide a reduced test case on jsFiddle. Thanks!

Changed November 11, 2010 11:09PM UTC by trac-o-bot comment:2

status: pendingclosed

Automatically closed due to 14 days of inactivity.