Skip to main content

Bug Tracker

Side navigation

#4611 closed bug (invalid)

Opened April 30, 2009 07:44PM UTC

Closed May 01, 2009 01:31AM UTC

Attribute type checkbox return undefined

Reported by: stephanrenault Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: checkbox Cc:
Blocked by: Blocking:
Description

Hi,

Simply, with this html :

<input type="checkbox" id="CK" value="test" />

function $("CK").attr("type") return "undefined" instead of "checkbox".

If the input was "radio" or "text" it's work well but not with "checkbox".

Have you an idea ?

Regards

Attachments (0)
Change History (1)

Changed May 01, 2009 01:31AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

I think you meant:

$("#CK").attr("type")