On Oct 10, 2009, at 7:45 PM, Dave Maharaj :: WidePixels.com wrote:

How can i remove the image in an id but keep the div?


<div id =  something >
image here

</div>

I want to fade the image out then remove it completely from the div keeping the div so the new content can be loading inside it?

Dave


This should do it:

$('#something img').fadeOut(400, function() {
  $(this).remove();
});



--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com

Reply via email to