Bug Tracker

Modify

Ticket #2030 (closed bug: worksforme)

Opened 5 years ago

Last modified 5 years ago

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

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

Change History

Changed 5 years ago by davidserduke

test case (built based on description)

Changed 5 years ago by davidserduke

test case data

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.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.