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
var element = document.createElement("input"); element.onclick = function() {alert('Clicked!');};