i have a jquery ui dialog where a user fills out a bunch of user inputs and then submits. One of the fields is getting more complicated and has an advanced detail view so instead of showing all of the detail on the dialog, i want to show a button that will popup another jquery ui dialog on top of the first dialog with a mini set of user inputs.
我有一个jquery ui对话框,用户填写一堆用户输入然后提交。其中一个领域变得越来越复杂并且具有高级细节视图,因此我没有显示对话框中的所有细节,而是希望显示一个按钮,该对话框将在第一个对话框的顶部弹出另一个jquery ui对话框,其中包含一组迷你用户输入。
is this supported in jquery ui dialog ??
在jquery ui对话框中是否支持?
2 个解决方案
#1
2
yes you can..
是的你可以..
i have a JSFiddle for this. check that out.
我有一个JSFiddle。检查出。
http://jsfiddle.net/79JWB/1/
#2
1
yes this can be done , call your
是的,这可以做到,打电话给你
new ui daliog
新的ui daliog
from your button in the form .
从表单中的按钮。
$('#buttonid').click(function(){
$( "#dialog-confirm" ).dialog({
resizable: false,
height:140,
modal: true,
buttons: {
"ok": function() {
//function
},
Cancel: function() {
$( this ).dialog( "close" );
}
}
})
});
#1
2
yes you can..
是的你可以..
i have a JSFiddle for this. check that out.
我有一个JSFiddle。检查出。
http://jsfiddle.net/79JWB/1/
#2
1
yes this can be done , call your
是的,这可以做到,打电话给你
new ui daliog
新的ui daliog
from your button in the form .
从表单中的按钮。
$('#buttonid').click(function(){
$( "#dialog-confirm" ).dialog({
resizable: false,
height:140,
modal: true,
buttons: {
"ok": function() {
//function
},
Cancel: function() {
$( this ).dialog( "close" );
}
}
})
});