I don't see any elements with that classname inside a span.
On Jan 15, 7:24 pm, CreativeMind <aftab.pu...@gmail.com> wrote: > hi, > here is the html source of a list. > <li class="xsnazzy" > > <a href="#frMap" style="text-decoration:none;text-indent:5px;"><b > class='xtop'> > <b class='xb1 '></b><b class='xb2 color_a'></b><b class='xb3 '></b> > <b class='xb4 color_a'></b></b><span class="xboxcontent"> > <h1>Map</h1></span></a></li> > ------------------ > here is the html source of a list. > <li class="xsnazzy top-left tabs-selected" > > <a href="#frMap" style="text-decoration: none; text-indent: 5px;"> > <b class="xtop"><b class="xb1"></b><b class="xb2 color_a"></b> > <b class="xb3"></b><b class="xb4 color_a"></b></b> > <span class="xboxcontent"><h1>Map</h1></span></a></li> > ------------------- > the problem is when i try to find $('li span').find('.tabs-selected'), > it returns me undefined... but it exists in the generated html..how > can i find that class.