Skip to main content

Bug Tracker

Side navigation

#3288 closed bug (fixed)

Opened August 25, 2008 11:04AM UTC

Closed January 20, 2009 03:17AM UTC

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 (0.4 KB) - added by grosser September 30, 2008 02:34PM UTC.

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

Change History (4)

Changed August 25, 2008 11:05AM UTC by grosser comment:1

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

Changed August 25, 2008 11:06AM UTC by grosser comment:2

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

Changed August 26, 2008 06:20PM UTC by flesler comment:3

cc: → grosser, flesler
need: ReviewTest 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 January 20, 2009 03:17AM UTC by brandon comment:4

resolution: → fixed
status: newclosed

This is working with 1.3