ajaxComplete is not working in ie 8 and 7
I have page to display data by ajax request. But after get the data i
could not find the data properly worked as jQuery used. So i used these
function
jQuery(document).ajaxComplete(function(){
var $productoverlay = jQuery('#product-details-overlay');
jQuery('#slider-related').tinycarousel({display:1});
jQuery('#fotorama').fotorama();
jQuery('#product-details-overlay .close-item').click( function(){
jQuery.when($productoverlay.fadeOut(500)).then(function() {
var productpos = $productoverlay.offset();
var itemlists = jQuery('#itemlists .item:last').offset();
jQuery('#itemlists').css({
height: (itemlists.top + 30) + 'px',
});
$productoverlay.remove();
});
});
});
and it is working perfectly. when checked in ie 8 and 7, the ajaxcomplete
function is not working. Is there any way to working in ie 8 and 7
perfectly.
No comments:
Post a Comment