Ticket #2030 (closed bug: worksforme)
jquery crashes IE 6 and 7
| Reported by: | proxydev | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.2 |
| Component: | ajax | Version: | 1.2.1 |
| Keywords: | ajax crash IE | Cc: | |
| Blocking: | Blocked by: |
Description
Here's the piece of code I'm trying to get to work in IE:
<script language='javascript'>
$(document).ready(function(){
$('div.ajax').hide(); $('font.ajax').click(function() {
var nextDiv = $(this).next('div.ajax'); var visibleSiblings = nextDiv.siblings('div:visible'); var href = $(this).attr('href'); if (visibleSiblings.length) { visibleSiblings.slideUp('500'); } $.get('remotescripts/asset_handler.php', { family: href },function(data) {
$(nextDiv).slideToggle('500').html(data);
});
});
}) </script>
This works PERFECT in Safari and FF, but it crashes IE hard.
Anyone else have this problem and if so .. PLEASE help. :)
Thank you!
Attachments
Change History
Changed 5 years ago by davidserduke
-
attachment
jquery_test.html
added
comment:1 Changed 5 years ago by davidserduke
- need changed from Review to Test Case
- Status changed from new to closed
- Resolution set to worksforme
The test case I built based on the description (I had to guess at the html) worked just fine in FF, IE6/7, Opera, and Safari. Please reopen the ticket with a revised test case if this is still an issue.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

test case (built based on description)