Skip to main content

Bug Tracker

Side navigation

#8835 closed bug (worksforme)

Opened April 10, 2011 03:46PM UTC

Closed April 16, 2011 09:22PM UTC

IE7 Error callback function with show/hide

Reported by: spoof63@nana.co.il Owned by: spoof63@nana.co.il
Priority: undecided Milestone: 1.next
Component: effects Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
Description

Hello,

Iv'e noticed bug in IE7 with jquery that i can't make a callback function that includes show/hide. for example:

$('#myDiv').show('slow',function() {

SOME JQUERY CODE HERE

$('#myDiv').hide();

});

In all the modren browsers that script works, that means that the div will be displayed and then the js inside will work.

Only in IE7 i need to do some hack instead of callback function i need to make a timeout function and then i got the show and then the code inside.

Thanks !

Attachments (0)
Change History (2)

Changed April 10, 2011 04:43PM UTC by timmywil comment:1

component: unfiledeffects
owner: → spoof63@nana.co.il
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced test case on http://jsFiddle.net that reproduces the issue experienced to help us assess your ticket!

Additionally, test against the jQuery(edge) version to ensure the issue still exists.

Changed April 16, 2011 09:22PM UTC by addyosmani comment:2

resolution: → worksforme
status: pendingclosed

I've created a test case based on the information you supplied here: http://jsfiddle.net/kDwcV/. Testing with IE6 and IE7 there are no issues at all with using the callback to remove the item that was animated/shown. As this is working fine cross-browser as per my tests (also checked with latest Chrome, FF), we'll be closing this ticket.