I have an issue after adding a element dynamically it doesn\'t have the click event, so i have the following:
$(\".myclass > li\").click(function () { ...
need to use event delegation to support dynamic elements
$(".myclass").on('click', '> li' function () { ... });