Bug Tracker

Ticket #3288 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

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
Blocking: Blocked by:

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

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

Change History

comment:1 in reply to: ↑ description Changed 6 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 6 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 6 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 6 years ago by grosser

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

comment:4 Changed 6 years ago by brandon

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

This is working with 1.3

Note: See TracTickets for help on using tickets.