jquery Implements dialog Pop-up windows:
The HTML code is as follows:
<type= "button" onclick= "performances ();" value = "Assigned" style = "background: #18a689 None repeat scroll 0 0;border:1px solid #18a689; color: #FFF; text-shadow:0px-1px 1px #1c6a9e; height:30px;width:60px; " ></ input >
The JS code is as follows:
//pop-up window functionperformances () {$.dialog.setting.zindex=Getzindex (); $.dialog ({content:' Url:saleordermaincontroller.do?goperformancedistribution ', Zindex:getzindex (), title:' Allocation List ', Lock:true, Width:' 600px ', Height:' 400px ', opacity:0.4, Button: [{name:' <t:mutilang langkey= ' common.confirm '/> ', callback:callbackperformance, Focus:true}, {name:' <t:mutilang langkey= ' common.cancel '/> ', callback:function() {}}]}). ZIndex (); } //Click OK callback function functioncallbackperformance () {variframe = This. Iframe.contentwindow; varCNO = iframe.$ ("#cnossss"). Val (); $(' #performance '). Val (CNO); }
Implementation of jquery's dialog pop-up window