[code]<html>
<head>
<title></title>
<script language="javascript" type="text/javascript">
function look()
{
var se =document.getElementById("se");
var option=se.getElementsByTagName("option");
var str="";
for(var i=0;i<option.length;++i)
{
if(option[i].selected)
{
document.getElementById("test").innerText=option[i].text;
//alert(option[i].text);
}
}
}
</script>
</head>
<body>
<select id="se" οnchange="look();">
<option value="aaa">aaa</option>
<option value="vvv">vvv</option>
<option value="ccc">ccc</option>
</select>
<input type="text" id="test" value="aaa"/>
</body>
</html>
[/code]
<head>
<title></title>
<script language="javascript" type="text/javascript">
function look()
{
var se =document.getElementById("se");
var option=se.getElementsByTagName("option");
var str="";
for(var i=0;i<option.length;++i)
{
if(option[i].selected)
{
document.getElementById("test").innerText=option[i].text;
//alert(option[i].text);
}
}
}
</script>
</head>
<body>
<select id="se" οnchange="look();">
<option value="aaa">aaa</option>
<option value="vvv">vvv</option>
<option value="ccc">ccc</option>
</select>
<input type="text" id="test" value="aaa"/>
</body>
</html>
[/code]