У меня есть следующий бит кода:
/* Set registered Cookie to TRUE if uri is /registrationSuccess */
var path = document.location.pathname.toLowerCase();
var re = new RegExp("/registrationSuccess","i");
if (re.test(path )) {
$.cookie("fpsRegistered", "true", { path: '/'});
}
/* End of cookie reg */
Эта строка вызывает ошибку IE: «объект не поддерживает это свойство или метод»
var path = document.location.pathname.toLowerCase();
Кто-нибудь может помочь?