![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
08/05/2013, 11:50
|
| | Fecha de Ingreso: mayo-2013
Mensajes: 4
Antigüedad: 11 años, 9 meses Puntos: 0 | |
Respuesta: Carga de datos en un input aca te dejo un ejemplo en javascript:
<!DOCTYPE html>
<html>
<head>
<script>
function greeting()
{
alert("Welcome " + document.forms["frm1"]["fname"].value + "!")
}
</script>
</head>
<body>
What is your name?<br>
<form name="frm1" action="tryjsref_form_onsubmit.htm" onsubmit="greeting()">
<input type="text" name="fname">
<input type="submit" value="Submit">
</form>
</body>
</html> |