I would like to dynamically add a button control to a table using jQuery and attach a click event handler. I tried the following, without success:
$(\"#myBut
You were just adding the html string. Not the element you created with a click event listener.
Try This:
Row 1 Row 2