在要显示对话框的页面中添加标签。
处理弹出新页面的问题

主要功能描述:

单击Web页面中的一个按钮,弹出一个页面窗口,选择弹出窗口窗口的值,关闭窗口,并获取界面的值。
复制代码代码如下所示:
b值选择的接口



功能closewin(){

到接口的接口中
window.returnvalue =测度;
Window.close();
}
接口需要选择值。
功能showunitdialog2(ID){
VaR RDM = Math.random();

打开接口
VaR结果= window.showmodaldialog(odsstocketacke。aspxid =+编号+=+RDM,库存明细

接受接口值

如果(结果){
$(# txtrealcount )瓦迩(的结果);
$(# txtrealcount )Attr(只读。
$(# tbunit TR:情商(1)TD:情商(3))。Html(结果);
InitButton();
}
}