|    
			
				22/10/2003, 12:00
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: agosto-2003 Ubicación: Riobamba 
						Mensajes: 9
					 Antigüedad: 22 años, 2 meses Puntos: 0 |  | 
  |  No funciona, ya aplique en mi script, y el rato de ver la pagina sale en blacno el select, q puede pasar.?
 <html>
 <head>
 
 <script type="text/javascript">
 function showText(form)
 {
 var option_value = form.dropdown.options[form.dropdown.selectedIndex].text
 var value_text    = option_value
 form.nick.value    = value_text
 }
 </script>
 
 </head>
 <body>
 <?
 include ("include/inicio.inc.php");
 include ("include/buscar.php");
 $option = "";
 $ban='A';
 $tbl_mensajes=BuscarMensajes($sesion2,$ban);
 while($rows = mysql_fetch_object($tbl_mensajes))
 {
 $option .="<option value=\"$rows->item_texto\">$rows->item_texto </option>\n";
 }
 ?>
 <form>
 <table width="60%" border="0" align="center">
 <tr>
 <td>Selecciona un nick:</td>
 <td><select name="dropdown" onChange="showText(this.form)"><?php echo $option;?></select></td>
 </tr>
 <tr>
 <td>Tu nick es:
 </td>
 <td><input type="text" name="nick" value=""></td>
 </tr>
 </table>
 </form>
 </body>
 </html>
     |