easyui的$.messager.confirm()插件是异步实现的,所以有时候需要将其他function写到回调函数里面去。
1 $.messager.confirm("","",function(r){ 2 if(r){ 3 alert("是异步实现的"); 4 }
//other function 5 })
easyui的$.messager.confirm()插件是异步实现的,所以有时候需要将其他function写到回调函数里面去。
1 $.messager.confirm("","",function(r){ 2 if(r){ 3 alert("是异步实现的"); 4 }
//other function 5 })