0
調用方法「破壞」當試圖以顯示我的系統上的一個窗口,下面的錯誤,問題是更新的jQuery的版本。錯誤:初始化之前無法在對話框中調用方法;試圖在對話框
但評論就行了「消滅」顯示主菜單下面的模態窗口
* USER DATA VIEW MENU log *
********************************************************/
$("#verDatos").click(function() {
$.post("../controlador/Acceso/controlUsuario.php?opc=2", function(data)
{
if (data.error == 0)
{
$.post(data.vista, function(datos)
{
$("#infoMsj").dialog("destroy");
$("#infoMsj").dialog({
title: data.title,
resizable: false,
bgiframe: true,
autoOpen: true,
modal: true,
width: 'auto',
dialogClass: "hide-close",
buttons:
{
"Aceptar": function() {
$(this).dialog('close');
}
}
}).html(datos);
});
}
}, "json");
});
由於它的工作完美 –
@BrenniBarreiro大高興聽到這個消息!如果你覺得這個答案很有用,我不會介意你接受它作爲答案。試圖賺取代表特權=] – AtheistP3ace