In this page there\'s a way to dynamic add html (textbox,input button and radio elements with javascript
my questioon is how can i add an event to the button, imagi
You have to attach the new event when creating the DOM element.
For example :
var e = document.createElement('input'); e.onclick = function() { alert('Test'); };