The click event does not bind to the dynamically loaded contents. From JQuery 1.7 onwards, the events can be delegated to dynamic dom elements using jQuery.fn.on: https://api.jquery.com/on/#on-events-selector-data-handler. Can this be implemented here?