Código HTML:
<div id=lugarDondeCrear><input type='button' name='crearBoton' id='crearBoton' value='crear Boton'/></div>
Código:
var x;
x=$(document);
x.ready(inicializarEventos);
function inicializarEventos()
{
var x;
x=$("#crearBoton");
x.click(crearBoton);
x=$('#botonCreado').click(alerta);
}
function crearBoton()
{
$('#lugarDondeCrear').append('<input type='button' name='botonCreado' id='botonCreado' value='boton Creado'/>');
}
fuction alerta()
{
alert ('asd');
}
al hacer eso, no me tira el alert,
de antemando gracias


