---
title: "个人存档"
author: "shelllgd"
date: "2010-12-25T20:59:53Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2010-12-25T20:59:53Z"
id: 851922
url: "https://shelllgd.iteye.com/blog/851922"
---

```java

 document.getElementById("khmc").value ="";
	 document.getElementById("khmc1").value ="";
	  var url='<%=request.getContextPath()%>/khgl/khinforAction.do?operFlag=select';
			var sStyle = 'scrollbar:no;dialogWidth:1024px;dialogHeight:600px;status:no;center:yes;resizable:yes';
			var sValue = showModalDialog(url, '', sStyle);
			if (sValue != null) {
				listCustomer = sValue;				
				document.getElementById("htkhid").value = listCustomer[0][0];
				document.getElementById("khmc").value = listCustomer[0][1];
				document.getElementById("khmc1").value = listCustomer[0][1];
			}

```


```java

primaryKey.value = param1;
			dispFlag.value = param3;
				var url = 'htgl/contractInforAction.do?operFlag=read&primaryKey=' + primaryKey.value + '&dispFlag=' + dispFlag.value;
				var sStyle = 'scrollbar:no;dialogWidth:900px;dialogHeight:600px;status:no;center:yes;resizable:yes';
				openModalDialog(url, '', sStyle);

```