84669 人が学習中
152542 人が学習中
20005 人が学習中
5487 人が学習中
7821 人が学習中
359900 人が学習中
3350 人が学習中
180660 人が学習中
48569 人が学習中
18603 人が学習中
40936 人が学習中
1549 人が学習中
1183 人が学習中
32909 人が学習中
代码:
var newp = document.createElement("p"); newp.id = "p1"; $("body").append($(newp)); $("body").append("<p id='p2'></p>");
问一下p1和p2有区别吗?或者两者对网页的性能有影响吗?
业精于勤,荒于嬉;行成于思,毁于随。
你用了jQuery,没区别。
你用了jQuery,没区别。