<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script type="text/javascript">
function getValue(value,inputId){
document.getElementById(inputId).value=value;
}
</script>
</head>
<body>
<div style="position:relative;"> <span style="margin-left:100px;width:18px;">
<select name="select" style="width:118px;margin-left:-100px" οnchange="getValue(this.value,'addressInput')">
<option value="Ajax">Ajax</option>
<option value="XML">XML</option>
<option value="xmlHTTP">xmlHTTP</option>
<option value="CSS">CSS</option>
</select>
</span>
<input name="tag" id="addressInput" style="width:95px; border-style:none;position:absolute; left:2px; height:14px; ; top: 2px;" value="输入或选择" οnmοuseοver="this.select()" />
</div>
</body>
</html>