Opened 11 years ago
Closed 11 years ago
#11228 closed bug (invalid)
Type for Select element return Undefined
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | core | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
<select id='testselect'> ...
$('#testselect').type return 'undefined' but must be select, or select-one, or select-multiple http://dev.w3.org/html5/spec/the-select-element.html#dom-select-type
document.getElementById('testselect').type return correct
Change History (1)
comment:1 Changed 11 years ago by
Component: | unfiled → core |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for taking the time to contribute to the jQuery project! In the future, please include a testcase on jsfiddle.
The jQuery object does not include DOM element properties. You can easily access those using: