Danniel_Sk Posted July 8, 2010 Report Share Posted July 8, 2010 Hola consulta quiero seleccionar un dato desde un textbox y con un boton seleccionar esa informacion y pasarla a otro textbox o tabla porfa como puedo hacerlo Link to comment Share on other sites More sharing options...
the.manolox Posted July 9, 2010 Report Share Posted July 9, 2010 Quieres hacerlo dentro de la misma pagina???, o quieres pasar los datos a otra pagina??.. Link to comment Share on other sites More sharing options...
alvaroxz Posted July 10, 2010 Report Share Posted July 10, 2010 Lo puedes hacer mediante java script: <input type="text" id="textbox1"> <input type="button" value="->" onclick="box1 = document.getElementById('textbox1').value; document.getElementById('textbox2').value=box1"/> <input type="text" id="textbox2"/> O mediante php <?php $value = $_POST['value']; echo '<form method="post" action="'.$_SERVER['SELF_PHP'].'"> <input type="text" name="value" value="'.$value.'"/> <input type="submit" value="->"/> <input type="text" value="'.$value.'"/> </form>'; ?> Suerte Dime como tu fue... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now