I would like to add both an image and some text to an element with jQuerys HTML, but it’s not working!? Can I do it in some other way?
var saveTime = "Text sparad: " + h + ":" + m + ":" + s;
$("#status").html("<img src='grafik/bullet_disk.png' />" + saveTime);
Check
must be
And always add
alt=""(even empty) to an img element in order to pass validation 🙂