var arr = ['a','b','c','d'];
var t = "<img src='' id='111'><img src='' id='man'><img src='' id='is'><img src='' id='u'>";
如何把 t 变成 "<img src='' id='a'><img src='' id='b'><img src='' id='c'><img src='' id='d'>"
"<img src='' id='a'><img src='' id='b'><img src='' id='c'><img src='' id='d'>"
HUX布斯
相关分类