<html>
<head>
<script language= "javascript" type="text/javascript">
function selectChange()
{
document.all.text.value = document.all.select.value;
}
</script>
</head>
<body>
<div>
<select id= "select" style= "position:absolute;width:150px;clip: rect(0 180 110 130) " οnchange= "selectChange()">
<option value= "1"> 1 </option>
<option value= "2"> 2 </option>
<option value= "3"> 3 </option>
<option value= "4"> 4 </option>
</select>
<input type= "text" id= "text" style= "position:absolute;width:150px; " value= "1 " > οnfοcus= "this.value= '';document.all.select.value= ''; "
</div>
</body>
</html>
<head>
<script language= "javascript" type="text/javascript">
function selectChange()
{
document.all.text.value = document.all.select.value;
}
</script>
</head>
<body>
<div>
<select id= "select" style= "position:absolute;width:150px;clip: rect(0 180 110 130) " οnchange= "selectChange()">
<option value= "1"> 1 </option>
<option value= "2"> 2 </option>
<option value= "3"> 3 </option>
<option value= "4"> 4 </option>
</select>
<input type= "text" id= "text" style= "position:absolute;width:150px; " value= "1 " > οnfοcus= "this.value= '';document.all.select.value= ''; "
</div>
</body>
</html>