Opened 12 years ago
Closed 12 years ago
#8409 closed bug (invalid)
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.
Change History (2)
comment:1 Changed 12 years ago by
Owner: | set to anonymous |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
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!
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.