需求:
如图:16个(var len = $(".box").length;)menu,我想在每个box上用js添加2个icon和一个数字;icon_1(方块左上)地址src = "../img/icon_1.png";icon_2(icon_1下)地址src = "../img/icon_2.png";圆点(方块右上)大小20px直径;
如何用js ,document.createDocumentFragmnet(),appendChild,append等实现?
现用html+css布局出来,再用js程序来操作
虽然不是按照要求达到目的,但还是谢谢