[jQuery] Re: Get all radiobutton in a span

2009-04-22 Thread Ignacio Cortorreal
"#list_0 > input:radio" will work if the radios are direct children of "#list_0" remove the ">" symbol On Wed, Apr 22, 2009 at 1:47 PM, Nitin Gautam wrote: > > HI, > > I have following html code. Using jQuery how to get all the > radiobuttons inside span id 'list_0' > > as i tried > > var

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread Ignacio Cortorreal
if you do something like: $("div").find("span").css('background':'red').end().css('background':'green'); spans will be red, and the divs will be green. .end() reset the chain to the first selector On Wed, Apr 22, 2009 at 2:05 PM, MorningZ wrote: > > Say you have the html of > > >One