when i click the add image div i should replace the current image with another cross image with back ground white
can you tell me how to accomplish it… : http://jsfiddle.net/6MmMe/11/
cross image https://docs.google.com/file/d/0B3IBJKENGE7ReWpack5aWmdLSmc/edit
$("div").hover(
function () {
$(this).append($("<div>add image</div>"));
},
function () {
$(this).find("div:last").remove();
}
);
1 Answer