#9083 closed bug (invalid)
Uncaught TypeError: Object #<HTMLDocument> has no method 'getAttribute'
Reported by: | quaff | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | attributes | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
var tagName = $(container).attr('tagName'); throws exception when container is document it break compatibility with previous version,it must return undefined
tested in chrome 12.0.742.16 dev-m
Change History (2)
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.
This is expected behavior as of jQuery 1.6. tagName is a property that should either be checked by doing elem.tagName or using the new http://api.jquery.com/prop method. For more information, see the release notes.