Hola
aml84
Prueba este ejemplo:
Código PHP:
<html>
<head>
<script type="text/javascript">
function marcar(obj) {
var texto ='';
for (i=0; opt = obj.options[i]; i++)
if (opt.selected)
texto += opt.value+' ';
obj.form.txt.value = texto;
}
</script>
</head>
<body>
<form>
<select size="4" multiple="multiple" onchange="marcar(this)">
<option value="Uno">Uno</option>
<option value="Dos">Dos</option>
<option value="Tres">Tres</option>
<option value="Cuatro">Cuatro</option>
</select>
<input type="text" name="txt" />
</form>
</body>
</html>
Saludos,