Side navigation
#7517 closed bug (duplicate)
Opened November 15, 2010 02:41AM UTC
Closed November 15, 2010 10:34PM UTC
Last modified April 09, 2012 11:18AM UTC
Uncaughted exception when call attr('tagName')
| Reported by: | quaff | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.5 | 
| Component: | attributes | Version: | 1.4.4 | 
| Keywords: | tagName exception attr | Cc: | |
| Blocked by: | Blocking: | 
Description
$(document).attr('taggName');
will throw exception:
TypeError: Cannot read property 'tagName' of null
'undefined' returns in jquery-1.4.3,query-1.4.2 ....
it's not backward compatible
Attachments (0)
Change History (5)
Changed November 15, 2010 11:09AM UTC by comment:1
Changed November 15, 2010 10:34PM UTC by comment:3
| component: | unfiled → attributes | 
|---|---|
| keywords: | → tagName exception attr | 
| priority: | undecided → low | 
| resolution: | → duplicate | 
| status: | new → closed | 
Changed April 09, 2012 11:18AM UTC by comment:5
The spaces on the type name are causing this problem.
Confirm this in FF3.5 jquery 1.4.4