我尝试过这种方式,但没有奏效:
var imglunch = new Image();
imglunch.src = "../images/faciliteit_lunch.png";
var imgdiner = new Image();
imgdiner.src = "../images/faciliteit_diner.png";
$('.greenfluxlist').append('<li id="' + element.Identifier + '"><a href="bla.html" rel="external">' + imglunch + imgdiner + '</a></li>');
有谁知道如何添加它?