-3

.after()当我单击一个按钮时,我正在使用向我的页面添加一些 html。但是当我添加 html 时,我想跳过第一个位置并转到第二个位置。

$(this).after(newtemplate);

基本上我想要.after()+1

4

1 回答 1

1

我相信您正在寻找的是append(newtemplate).

http://api.jquery.com/append/

于 2016-08-26T12:02:09.560 回答