Skip to main content

Bug Tracker

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 jeremy@jeremyfrench.co.uk comment:1

Confirm this in FF3.5 jquery 1.4.4

Changed November 15, 2010 04:32PM UTC by jitter comment:2

Duplicate of #7500

Changed November 15, 2010 10:34PM UTC by addyosmani comment:3

component: unfiledattributes
keywords: → tagName exception attr
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed November 15, 2010 10:34PM UTC by addyosmani comment:4

Duplicate of #7500.

Changed April 09, 2012 11:18AM UTC by anonymous comment:5

The spaces on the type name are causing this problem.