【发布时间】:2017-12-01 06:55:25
【问题描述】:
我的代码在 Chrome 和 Edge 中运行良好,但在 Firefox 中出现此错误:
TypeError: 在未实现接口 Storage 的对象上调用了“key”
function goToNextStep() {
$.post("../manager.php", {
dados: sessionStorage,
action: "save"
}, function(response) {
if (response === "1") {
$.ajax({
type: "GET",
url: "../final.php",
success: function(data) {
$('#content').html(data);
}
});
}
});
}
【问题讨论】:
标签: javascript jquery firefox session-storage