You are selecting an image and image has no HTML or any kind of text content in it!
img element has no html() function. jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 8, 2009 at 8:11 PM, CreativeMind <aftab.pu...@gmail.com> wrote: > > hi all, > i m unable to find the img and its src attribute... > when i write > alert($(myobj[1][$c]).find('li').html()); > i get the output > <a class="" title="zp0790.tmp.jpg" href="#"><img src="PropertyImages/ > 20081222160549.jpg" width="50" height="50"> </a> > > alert($(myobj[1][$c]).find('li').find('a').html()); > <img src="PropertyImages/20081222160549.jpg" width="50" height="50"> > > but when i try > alert($(myobj[1][$c]).find('li').find('a').find('img').html()); > > i get no value or empty value .. can u plz correct it.. > thx >