Remove image dynamically using jquery by clearing the src attribute -
i know 1 can load image dynamically using
$("#id").attr("src","path of image"), but onload image on event,
$("id").attr("src","") doesn't work.
what's right way unload image runtime using jquery??
i cannot alter display or visibility property of image, need load unload it.
just remove dom element:
$("#id").remove();
jquery loading-image dynamic-attributes
No comments:
Post a Comment