此片记录在指定 div 中动态添加 div html(): append(): 在被选元素的结尾(但仍在元素内部)插入指定的内容. 语法: $(selector).append(content); //其中,参数content是必需的,指定要附加的内容. append 能够使用函数给被选元素附加内容,语法为: $(selector).append(function(index,html)); //function()是必需的,参数index和html都是可选的.index表示接收选择器的inde…