Side navigation
#2030 closed bug (worksforme)
Opened December 07, 2007 09:54PM UTC
Closed December 10, 2007 05:08PM UTC
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 (1)
Changed December 10, 2007 05:08PM UTC by comment:1
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.