Skip to main content

Bug Tracker

Side navigation

#12030 closed bug (invalid)

Opened July 06, 2012 07:33AM UTC

Closed August 03, 2012 08:32AM UTC

.attr() bug drowser differences IE8

Reported by: anonymous Owned by: anonymous
Priority: low Milestone: None
Component: attributes Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

Browser:

IE version 8.0.6001.18702 on WinXp

Firefox 13.0.1 on same machine

Jquery version 1.7.2

this code:

typeof ($("> a", this).attr('href'))

applied on an anchor where the href is NOT set.

returns in firefox: "undefined"

returns in ie: "string" (empty String)

Attachments (0)
Change History (2)

Changed July 19, 2012 03:49PM UTC by addyosmani comment:1

component: unfiledattributes
owner: → anonymous
priority: undecidedlow
status: newpending

Thanks for submitting a ticket to the jQuery bug tracker. Could you please provide us with a test case that reproduces the above issue on jsFiddle.net?. Please also be sure to test using the latest version of jQuery (jQuery-Git).

Changed August 03, 2012 08:32AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!