[jQuery] Re: Get all radiobutton in a span

2009-04-22 Thread mkmanning
If you want valid HTML, you can't put a span around a table (or any block level element). On Apr 22, 9:14 pm, Nitin Gautam wrote: > Thanks for both replies..it works now =) > > On Apr 22, 10:55 pm, Ignacio Cortorreal > wrote: > > > "#list_0 > input:radio"  will work if the radios are direct chi

[jQuery] Re: Get all radiobutton in a span

2009-04-22 Thread Nitin Gautam
Thanks for both replies..it works now =) On Apr 22, 10:55 pm, Ignacio Cortorreal wrote: > "#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

[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: Get all radiobutton in a span

2009-04-22 Thread James
Try: var kk = $("#list_0 input:radio"); or: var kk = $("#list_0").find("input:radio"); or you can just give all radio buttons a same classname and reference it by that. On Apr 22, 7:47 am, Nitin Gautam wrote: > HI, > > I have following html code. Using jQuery how to get all the > radiobuttons