Skip to main content

Bug Tracker

Side navigation

#8409 closed bug (invalid)

Opened March 01, 2011 08:56AM UTC

Closed March 16, 2011 08:07AM UTC

select a dom elment which append using $.append

Reported by: anonymous Owned by: anonymous
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:
Description

when i inserts some specified content as the last child of a element. and then i failed to use the id selecter to get the dom which i append just now.

for example:

<div id="parent"></div>

$('#parent').append('<div id="child">child</div>);

the length of $('#child') is 0.

Attachments (0)
Change History (2)

Changed March 01, 2011 04:02PM UTC by ajpiano comment:1

owner: → anonymous
status: newpending

Thank you for your time and interest in helping the jQuery project, but we require a working testcase on jsfiddle that demonstrates the issue failing in order to audit the problem.

In this case, I made a test case that shows that the behaviour you described is not actually happening,

http://jsfiddle.net/ajpiano/Br24f/

Unless you can produce a testcase that shows the behaviour you are describing, we cannot proceed any further. Thanks.

Changed March 16, 2011 08:07AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!