This question is locked. New answers and comments are not allowed.
When one of my views is loaded, I make an AJAX call with data-init and then dynamically create div elements with some <span>text</span> inside. The divs have data-role="button" and data-click="myFunction". When I test the template on another page (not created dynamically) everything works great. But when dynamically added, the buttons are not recognized as buttons and myFunction doesn't fire.
Note, I am not using kendo templating to add the divs, I am using .append('with my html in here').
How can I dynamically add button and still have them recognized?
Thanks.