创建模态窗口

<script type="text/javascript">
	function newDialog(){
		var result = window.showModalDialog("custSearch.jsp",[window],"dialogWidth=415px;dialogHeight=500px;help=0");
		if(result!=null){
			document.getElementById("custID").value = result[0];
			document.getElementById("custName").value = result[1];
		}
	}

</script>

 

posted @ 2012-06-29 11:27  小嫩芽儿  阅读(205)  评论(0编辑  收藏  举报