I've this code:
document.getElementById('form1').innerHTML = user_selections.stockyard_html[sel];
alert('click handler registered');
$("#" + register_btn_id).click(function (event){
alert("Clicked");
});
After html overwrite of form html which was saved yesterday, there is a register button whose click I'm not able to catch. What could be the reason?