页面之间传递对象
父窗体:
var rqfobj ; rqfobj = createSingleInstance(); function createSingleInstance(){ if(rqfobj !=null){ return rqfobj; }else{ var rqfobj=new ActiveXObject("RQFHISDLL.CallYinHai"); var aa=0,bb=""; rqfobj.yh_interface_init(aa,bb); } return rqfobj; }
子窗体:
if(window.dialogArguments != null) var rqfobj = window.dialogArguments;