hola a todos los del foro.....tengo la siguiente duda .......tengo este codigo
Código HTML:
<form action="" method="post" name="form">
<input name="txt1" type="text" size="8"><br><br>
<input name="txt2" type="text" size="8"><br><br>
<input name="txt3" type="text" size="8"><br><br>
<select name="selet1" size="1">
<option value=eliga>eliga</option>
<option value=1>1</option>
<option value=2>2</option>
</select><br>
<br>
<input name="txt3" type="text" size="8"> <input name="txt6" type="text" size="8"><br><br>
<input name="txt4" type="text" size="8"> <input name="txt7" type="text" size="8"><br><br>
<input name="txt5" type="text" size="8"> <input name="txt8" type="text" size="8"><br><br>
</form>
bueno la idea es que en los campos de texto txt1,txt2,txt3 uno escriba cualquier cosa en el combo si yo elijo 1 se copien los datos automaticamente a txt4, txt5, txt6, si yo selecciono en el combo 2 que los datos se copien automaticamente en txt6,txt7,txt8....ojala me ayan entendido y me peudan ayudar gracias por todo