I'm just try to replace the content of a div with new content binded to a click event.
When I use appendTo() instead of of html() it's working, but I need to clear the old content out so I'm a bit confused why this is not working like it should do