Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/08/2012, 08:25
Avatar de Dradi7
Dradi7
 
Fecha de Ingreso: junio-2008
Ubicación: Peru - Lima
Mensajes: 1.518
Antigüedad: 15 años, 10 meses
Puntos: 220
Respuesta: Actualizar un campo de la misma ventana

Haber mira este ejemplo sencillo:

Código HTML:
Ver original
  1. <select id="combo1" onchange="actualizarInput()"></select>
  2. <select id="combo2" onchange="actualizarInput()"></select>
  3. <input type="text" id="todo" readonly="readonly" />

Código Javascript:
Ver original
  1. function actualizarInput(){
  2. document.getElementById("todo").value = document.getElementById("combo1").value + " esta " document.getElementById("combo2").value
  3. }
__________________
La clave de todo triunfador es eliminar todas sus excusas y sus limitaciones