</pre><pre name="code" class="html">var _url="addCheckIndexa.action?eval.id=-1&temp="+$('#indexId').val();
$("#editCheckIndex").dialog({
title:"新增指標",
cache:false,
href:_url,
resizable: true,
height: 400,
width: 1100,
modal: true
});
$('#editCheckIndex').dialog('open');
easyUI dialog的href動態加載的時候,彈出的dialog老是顯示上一次打開的dialog頁面。解決辦法在open後加上一句
</pre><pre name="code" class="html">$('#editCheckIndex').dialog('open').dialog('refresh', _url);
ps:臨時解決辦法是這樣,原因是因爲啥子呢?別的項目中也沒有加這句話就沒有這個問題。