Open ghost opened 11 years ago
If you use "complete" in order to fire a callback, it will not fire under IE9 (and other IE and older browsers too?)
Just for compatibility's sake it should work, as the rotate I use below works in IE9 but it never fires the callback, so it's doing the half the job.
$('#box15').click(function(event){ $(this).transition({ rotate: 45, complete: function() { $(this).html('Done').delay(300).transition({ rotate: 0 }, function(){ $(this).html(''); }); } }, 200); }); Tested under Windows 7 32-bit, IE9
$('#box15').click(function(event){ $(this).transition({ rotate: 45, complete: function() { $(this).html('Done').delay(300).transition({ rotate: 0 }, function(){ $(this).html(''); }); } }, 200); });
If you use "complete" in order to fire a callback, it will not fire under IE9 (and other IE and older browsers too?)
Just for compatibility's sake it should work, as the rotate I use below works in IE9 but it never fires the callback, so it's doing the half the job.
$('#box15').click(function(event){ $(this).transition({ rotate: 45, complete: function() { $(this).html('Done').delay(300).transition({ rotate: 0 }, function(){ $(this).html(''); }); } }, 200); });
Tested under Windows 7 32-bit, IE9