[jQuery] Re: attr('type') gives me checkbox instead of radio

2009-01-10 Thread Ricardo Tomasi
What does your HTML look like? On Jan 9, 12:47 am, bob wrote: > Female > Male > > var type = #('inp...@name=gender]').attr('type'); > > alert(type); > > Why do I get checkbox instead of radio?

[jQuery] Re: attr('type') gives me checkbox instead of radio

2009-01-10 Thread jQuery Lover
I just checked. I am getting "radio"! Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 9, 2009 at 7:47 AM, bob wrote: > > Female > Male > > var type = #('inp...@name=gender]').attr('type'); > > alert(type); > > Why do I get checkbox instead of radio?

[jQuery] Re: attr('type') gives me checkbox instead of radio

2009-01-08 Thread MorningZ
I'm not sure where you are getting your documentation from, but "@param" is depreciated this code gives "radio" http://paste.pocoo.org/show/98695/ On Jan 8, 9:47 pm, bob wrote: > Female > Male > > var type = #('inp...@name=gender]').attr('type'); > > alert(type); > > Why do I get checkbox i