Bug Tracker

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)

jquery_test.html (1.2 KB) - added by davidserduke 16 years ago.
test case (built based on description)
data.php (64 bytes) - added by davidserduke 16 years ago.
test case data

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by davidserduke

Attachment: jquery_test.html added

test case (built based on description)

Changed 16 years ago by davidserduke

Attachment: data.php added

test case data

comment:1 Changed 16 years ago by davidserduke

need: ReviewTest Case
Resolution: worksforme
Status: newclosed

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.

Note: See TracTickets for help on using tickets.