I have problems with my keyup binding when cloning an element. Here\'s the scenario:
I have an html markup like this:
-
You've got two real options
- use clone(true) which will also clone the bound event handlers
- use event delegation with
live()
so that the event handler is bound to a parent element and thus newly added rows will get the same functionality
- 热议问题