Bug Tracker

Opened 7 years ago

Closed 7 years ago

#3288 closed bug (fixed)

attr('href') does not return a string in IE6

Reported by: grosser Owned by:
Priority: minor Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc: grosser, flesler
Blocked by: Blocking:

Description

var $link = $('#my_link') var href = $link.attr('href');is #panel_1 (when alert(href) in ie and ff) var $panel = $(href.toString()).hide();IE6 var $panel = $(href).hide();FF

Attachments (1)

test.html (382 bytes) - added by grosser 7 years ago.
this should reproduce the error, hide x in ff, but not in ie6

Download all attachments as: .zip

Change History (5)

comment:1 in reply to: ↑ description Changed 7 years ago by grosser

var $link = $('#my_link') var href = $link.attr('href');is #panel_1 (when alert(href) in ie and ff) var $panel = $(href.toString()).hide();IE6 var $panel = $(href).hide();FF

comment:2 in reply to: ↑ description Changed 7 years ago by grosser

grml@formatting...

var $link = $('#my_link')

var href = $link.attr('href');is #panel_1 (when alert(href) in ie and ff)

var $panel = $(href.toString()).hide();IE6

var $panel = $(href).hide();FF

comment:3 Changed 7 years ago by flesler

  • Cc grosser flesler added
  • need changed from Review to Test Case

Can you please provide a test case ? that is, a small html file with the minimum html/css/js necessary to reproduce the problem.

Changed 7 years ago by grosser

this should reproduce the error, hide x in ff, but not in ie6

comment:4 Changed 7 years ago by brandon

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

This is working with 1.3

Note: See TracTickets for help on using tickets.