0

I want to add a new line each time the enter key is pressed. But delegation is not setup properly... Can someone make the simple change to this code? Thanks.`

Mike
  • 21
  • 4

1 Answers1

0

dynamic content will not bind event you can try this:

$('tbody').on('keypress', '.myInput', function(){
});
databorker
  • 51
  • 1