我正在使用jQuery Mobile。我保存数据后,我正在使用JQM和javascript来更改页面。我想将成功保存数据的页面更改为Parse。在所有浏览器和Win7 / IE9中一切正常。除Win8 / IE10外,无处不在。使用Win8 / IE10,数据将保存到Parse.com,但页面更改永远不会发生。 URL地址更改,但显示的页面永远不会更改。这是我的代码:
success: function(object) {
$(".success").show();
alert (" New Info Saved ");
//window.location.href = "#showFltInfo"; this works, seems to reload whole page though
window.location.hash = "#showFltInfo"; // this does same as above but doesn't seem to reload page, ie. it's faster
// this not work at all $.mobile.changePage ($("#showFltInfo"));