-3

The problem I am facing is that I can't stop load an image in browser. I can stop it from appearing using

display:none;

but it still loads in the browser. I can't remove it as it's not in my control. Please help.

Vineesh
  • 3,762
  • 20
  • 37

1 Answers1

0

Use jQuery .remove

$("#img_id").remove();

Or removeChild

var img = document.getElementById("img_id");
img.parentNode.removeChild(img);
Tomer Wolberg
  • 1,256
  • 10
  • 22