Having a problem , can't explain because not sure what is happening. Just can only simplify the problem in this example
What hapening
I'm putting the element in a array temporally, then when I put again doesn't have the click event.
How to test
- Use "click me" button, will show the alert
- detach, will change place
- will appear the button "click me" in another place
- click on the "click me" button , doesn't work