Bug Tracker

Opened 15 years ago

Closed 14 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 14 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 15 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 15 years ago by grosser

[email protected]

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 15 years ago by flesler

Cc: grosser flesler added
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 14 years ago by grosser

Attachment: test.html added

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

comment:4 Changed 14 years ago by brandon

Resolution: fixed
Status: newclosed

This is working with 1.3

Note: See TracTickets for help on using tickets.