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?
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?
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
3 matches
Mail list logo