function del (obj) {
console.log(obj.src);//srchttp
var img = document.getElementById("recommendimgs").value;
var imgsArr = img.split(",");
for(var i =0; i<imgsArr.length; iPP){
console.log(imgsArr[i]);//http
if(imgsArr[i]==obj.src){
imgsArr.splice(i,1);
}
}
var imgStr = imgsArr.join(",");
document.getElementById("recommendimgs").value=imgStr;
obj.parentNode.removeChild(obj);
}
now I want to match later and delete it. I want to know how onclick can get the src of the current picture without http, not to mention jq