+ 1

What is the use of appenedchild() function?

it is used in drop element ,but why we use if we cannot use it the ondrop function can drop it automatically

4th Sep 2018, 4:39 PM
Shivani
Shivani - avatar
2 ответов
+ 4
appendchild is one of the ways to add a child to the parent. When you drag and drop, you want to change the parent of the moved element to where it gets dropped. This must be coded in some form for the element to get moved.
4th Sep 2018, 7:37 PM
John Wells
John Wells - avatar
+ 3
thankyou for answer
10th Sep 2018, 4:25 PM
Shivani
Shivani - avatar