![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
13/03/2002, 06:06
|
| | Fecha de Ingreso: enero-2002
Mensajes: 29
Antigüedad: 23 años, 1 mes Puntos: 0 | |
Please. Forma DINAMICO Tengo el siguiente problema, quiero generar automáticamente un INPUT, y no se como poder añadir eventos ¿alguien podría ayudarme?
var main = document.getElementById(form_id var a =document.createElement('INPUT');
a.setAttribute('type','text');
a.setAttribute('name','entidad3');
main.appendChild(a);
Muchas Gracias |