elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Recuerda que debes registrarte en el foro para poder participar (preguntar y responder)


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  De un select a un input typet='text'
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: De un select a un input typet='text'  (Leído 2,059 veces)
Enigma_Hash

Desconectado Desconectado

Mensajes: 22





Ver Perfil
De un select a un input typet='text'
« en: 10 Abril 2013, 21:31 pm »

Hola me gustaria saber de que forma poddria que segun lo que selecciones en el select se ponga ese texto en el input.

Gracias.


En línea

Puntoinfinito


Desconectado Desconectado

Mensajes: 919


#! /win/archlinux


Ver Perfil WWW
Re: De un select a un input typet='text'
« Respuesta #1 en: 10 Abril 2013, 22:15 pm »

Hola me gustaria saber de que forma poddria que segun lo que selecciones en el select se ponga ese texto en el input.

Gracias.

Con javascript se podría hacer...

Creas una función que modifique el value del input en HTML y ya lo tienes


« Última modificación: 10 Abril 2013, 22:18 pm por Puntoinfinito » En línea

AHORA EN SOFTONIC || CLICK HERE!!
Base64: QWNhYmFzIGRlIHBlcmRlciAxIG1pbnV0byBkZSB0dSB2aWRhLiBPbOkh



HACK AND 1337 : http://hackandleet.blogspot.com
WEBSITE: http://www.infiniterware.
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Input TEXT cambiando de color al click?
Desarrollo Web
MinusFour 4 3,279 Último mensaje 11 Abril 2013, 00:24 am
por l337*
XSS en input text
Nivel Web
tonoan 2 2,815 Último mensaje 24 Agosto 2012, 20:11 pm
por BlackZeroX
De un select a un input typet='text'
Desarrollo Web
Enigma_Hash 6 5,219 Último mensaje 12 Abril 2013, 07:45 am
por Enigma_Hash
onChange deja de funcionar al cambiar un <select> por un <input>
PHP
KateLibby 0 1,794 Último mensaje 4 Junio 2013, 14:00 pm
por KateLibby
[Resuelto] SELECT filtrado por valor en input en mysql
PHP
bgnumis 1 2,823 Último mensaje 31 Diciembre 2014, 11:26 am
por #Aitor
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines