{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/jquery/issues/4153","repository_url":"https://api.github.com/repos/jquery/jquery","labels_url":"https://api.github.com/repos/jquery/jquery/issues/4153/labels{/name}","comments_url":"https://api.github.com/repos/jquery/jquery/issues/4153/comments","events_url":"https://api.github.com/repos/jquery/jquery/issues/4153/events","html_url":"https://github.com/jquery/jquery/issues/4153","id":349702766,"node_id":"MDU6SXNzdWUzNDk3MDI3NjY=","number":4153,"title":"can only insert into the body a element by the .append() method.","user":{"login":"Flcwl","id":26050644,"node_id":"MDQ6VXNlcjI2MDUwNjQ0","avatar_url":"https://avatars3.githubusercontent.com/u/26050644?v=4","gravatar_id":"","url":"https://api.github.com/users/Flcwl","html_url":"https://github.com/Flcwl","followers_url":"https://api.github.com/users/Flcwl/followers","following_url":"https://api.github.com/users/Flcwl/following{/other_user}","gists_url":"https://api.github.com/users/Flcwl/gists{/gist_id}","starred_url":"https://api.github.com/users/Flcwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flcwl/subscriptions","organizations_url":"https://api.github.com/users/Flcwl/orgs","repos_url":"https://api.github.com/users/Flcwl/repos","events_url":"https://api.github.com/users/Flcwl/events{/privacy}","received_events_url":"https://api.github.com/users/Flcwl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-11T03:44:25Z","updated_at":"2018-08-11T04:44:50Z","closed_at":"2018-08-11T04:44:50Z","author_association":"NONE","body":"### Description ###\r\n> The .append() method inserts the specified content as the last child of each element in the jQuery collection (To insert it as the first child, use .prepend()).\r\n\r\nI can add any DOM elements as childs on either side of sub DOM \"P\", But only can insert into the body a element by this method.\r\n\r\n[show-case.gif](http://chuantu.biz/t6/356/1533958522x-1404795780.gif)\r\n\r\nBy the pic, you can see I click the button three times. Can only be inserted inside the body element once. I'm not sure about it.\r\n\r\n\r\n### Link to test case ###\r\n[https://jsfiddle.net/flcwl/ad7uw6vc/10/](https://jsfiddle.net/flcwl/ad7uw6vc/10/)\r\n"},"comment":{"url":"https://api.github.com/repos/jquery/jquery/issues/comments/412250514","html_url":"https://github.com/jquery/jquery/issues/4153#issuecomment-412250514","issue_url":"https://api.github.com/repos/jquery/jquery/issues/4153","id":412250514,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjI1MDUxNA==","user":{"login":"timmywil","id":192451,"node_id":"MDQ6VXNlcjE5MjQ1MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/192451?v=4","gravatar_id":"","url":"https://api.github.com/users/timmywil","html_url":"https://github.com/timmywil","followers_url":"https://api.github.com/users/timmywil/followers","following_url":"https://api.github.com/users/timmywil/following{/other_user}","gists_url":"https://api.github.com/users/timmywil/gists{/gist_id}","starred_url":"https://api.github.com/users/timmywil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmywil/subscriptions","organizations_url":"https://api.github.com/users/timmywil/orgs","repos_url":"https://api.github.com/users/timmywil/repos","events_url":"https://api.github.com/users/timmywil/events{/privacy}","received_events_url":"https://api.github.com/users/timmywil/received_events","type":"User","site_admin":false},"created_at":"2018-08-11T04:44:50Z","updated_at":"2018-08-11T04:44:50Z","author_association":"MEMBER","body":"Thanks for opening an issue. However, `text1` and `text2` are actually references to particular elements that may or may not get cloned depending on the way the element gets appended. The example is not valid usage. The fact that `text1` shows up more than once is just a by-product of implementation. In other words, don't try to append the same element to multiple places. A new element must be created for each append/prepend. This is how you'd accomplish what you want: https://jsfiddle.net/ad7uw6vc/14/"}}
{"actor":{"display_login":"timmywil"}}