I want to redirect a IE7 user, but window.location.href does not seen to work properly.
Any suggestion?
$('.navigation-next a').bind('click', function (a) {
a.preventDefault();
window.location.href = $(this).attr('href')
})
Worked with:
$('.navigation-next a').bind('click', function(a) {
location.href = $(this).attr('href')
})
Thanks!
You have to use
window.location.replace()on IE7 and earlier.This is why all web developers should drop support for IE until Microsoft fixes it!