Opened 16 years ago
Closed 16 years ago
#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: | |
Blocked by: | Blocking: |
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 (2)
Change History (3)
Changed 16 years ago by
Attachment: | jquery_test.html added |
---|
comment:1 Changed 16 years ago by
need: | Review → Test Case |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
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.
test case (built based on description)