[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread Balazs Endresz
Try 1.2.6 or 1.3! There was some problem with 1.2.4 and 1.2.5, it was very quickly updated to 1.2.6. On Jan 16, 3:54 pm, CreativeMind wrote: > jQuery1.2.4 and browsers are IE and ff..the html source view of both > browsers shows single class implemented that is 'xsnazzy' but the > generated sour

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread CreativeMind
jQuery1.2.4 and browsers are IE and ff..the html source view of both browsers shows single class implemented that is 'xsnazzy' but the generated source of both browsers shows three classes implemented ("xsnazzy top-left tabs-selected").. On Jan 16, 7:41 pm, Balazs Endresz wrote: > This should d

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread Balazs Endresz
This should definitely work, with a live test page it would be much easier to say anything about it. What version of jQuery are you using and on which browser does it occur? On Jan 16, 2:48 pm, CreativeMind wrote: >  $('li.tabs-selected') also shows undefined.. i m unable to find li > with the

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread CreativeMind
$('li.tabs-selected') also shows undefined.. i m unable to find li with the help of class 'tabs-selected'.. On Jan 16, 1:28 am, Balazs Endresz wrote: > Now that's another one: > > $('li').hasClass('.tabs-selected') > and > $('li').is('.tabs-selected') > > only tell you if "li" has that class

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-15 Thread Balazs Endresz
Now that's another one: $('li').hasClass('.tabs-selected') and $('li').is('.tabs-selected') only tell you if "li" has that class or not, if you want to select by class do this: $('li.tabs-selected') On Jan 15, 9:11 pm, CreativeMind wrote: >  hi, > here is the html source of a list. > > cla

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-15 Thread CreativeMind
hi, here is the html source of a list. Map -- here is the generated html source of a list. Map --- the problem is when i try to find $('li').hasClass('.tabs-selected'), or $('li').is('.tabs-selected') it returns me undefined... but it exists in the generat

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-15 Thread Balazs Endresz
I don't see any elements with that classname inside a span. On Jan 15, 7:24 pm, CreativeMind wrote: > hi, > here is the html source of a list. > > class='xtop'> > > > Map > -- > here is the html source of a list. > > > > > Map > --- > the problem is when i