Back button fails after window.location.replace(href);
问题 I made simple function which makes all container behave like link ("a" element). function allHot(element){ $(element) .click( function(){ var href = $(this).find('a').attr('href'); window.location.replace(href); }) .hover( function(){ $(this).css({'text-shadow' : '0px 1px 0px #D6D6D6'}); }, function(){ $(this).css({'text-shadow' : 'none'}); } ); } Function works great. Instead of clicking the "more" button, user can click everywhere on container and is properly redirected. However, if user