基本思想是找到您想要添加的最外面的div,然後將其附加到您想要的另壹個div。
$("#appenddiv ")。appendTo($(" # target "));
或者
$("#target ")。append($(" # appenddiv "));
都壹樣。