Opened 12 years ago
Closed 12 years ago
#11468 closed bug (invalid)
form elements cann't get
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | attributes | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
just like <textarea id="abc" name="abc"></textarea>,for version1.4 I can get element like jQuery("#abc").attr("type"); but now the version 1.7 I get undefined.
Change History (1)
comment:1 Changed 12 years ago by
Component: | unfiled → attributes |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Since, "type" is not an attribute, you should be using .prop().
Example: http://jsfiddle.net/mofle/qCzWa/