Modify ↓
Ticket #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 | |
| 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
Change History
comment:1 in reply to: ↑ description Changed 5 years ago by grosser
comment:2 in reply to: ↑ description Changed 5 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 5 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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

