Bug Tracker

Modify

Ticket #9329 (closed bug: fixed)

Opened 3 years ago

Last modified 2 years ago

attr("title") issue in ie7

Reported by: naltatis Owned by: timmywil
Priority: low Milestone: 1.6.2
Component: attributes Version: 1.6.1
Keywords: Cc:
Blocking: Blocked by:

Description

$("<div>").attr('title') // returns ""

A missing "title" attribute returns empty string instead of undefined in ie7

Change History

comment:2 Changed 3 years ago by timmywil

  • Owner set to timmywil
  • Priority changed from undecided to low
  • Status changed from new to assigned
  • Component changed from unfiled to attributes
  • Milestone changed from 1.next to 1.6.2

comment:3 Changed 3 years ago by timmywil

  • Status changed from assigned to closed
  • Resolution set to fixed

Switched title attribute to getAttributeNode for IE6/7. Fixes #9329.

Changeset: 7d3ba9f89e8077dff96e4cd9784fda20625c38d6

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.