mihail9575,
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>
$(function ()
{
$('#headerImage').has('[src=""]').remove();
alert($('body').html())
})
</script>
</head>
<body>
<p>test</p>
<div id="headerImage">
<a href="/healthcare-insurance/elder-care/alaska/case/">
<img src=""/>
</a>
</div>
</body>
</html>