我想通过 insertAfter 方法创建一个带有 p 标签的 div 标签
所以现在我的代码是
$('<p></p>', {
'width': '110',
'height': '110',
}).insertAfter($(this));
现在的输出是这样的
<p style="width:110px;height:110px;"></p>
如何在不重复insertAfter方法的情况下使输出变成这样
<div id="wrapP"><p style="width:110px;height:110px;"></p></div>
谢谢你