1
我有一個問題,使用Twitter Bootstrap modals
,我的ajax calls
沒有被更新在我的Bootstrap modals
。他們是如何影響數據庫的。微軟邊緣和IE瀏覽器(遲到版本)Twitter Bootstrap模態緩存
例如。
我將提交一份新的公民身份,如何 - 顯示公民身份列表的模式不反映這種變化。
有沒有辦法清除緩存或啓用模式或控制器時有一個nocache標誌?
這是jQuery方法,在點擊鏈接來填充模態時被調用。
$("body").on("click", ".modal-link", function(e) {
e.preventDefault();
$(this).attr("data-target", "#settings-modal");
$(this).attr("data-toggle", "modal");
});
這是一個被點擊的鏈接:
@Html.ActionLink("Citizenships", "Index", "Citizenships", new {@class = "modal-link",title = ""})
非常感謝,作品像魅力(我認爲):) –