What does your HTML look like?

On Jan 9, 12:47 am, bob <xoxeo...@gmail.com> wrote:
> <input type="radio" name="gender" id="f" value="1" />Female
> <input type="radio" name="gender" id="m" value="2" />Male
>
> var type = #('inp...@name=gender]').attr('type');
>
> alert(type);
>
> Why do I get checkbox instead of radio?

Reply via email to