<script>
var images = document.getElementsByClassName("c1");
var imageStr = "";
for(var i=0;i<images.length;i++){
imageStr+=images[i].src+'_';
}
alert(imageStr);
</script>
如何设定一个按钮,点击后post imageStr里面的数组到PHP
$imageStr = "http://127.0.0.1/down/123.gif__http://127.0.0.1/down/8095680852_893f685cbd_q.jpg__http://127.0.0.1/down/8018953043_c6ef9e3b29_q.jpg__";
相关分类