You should be able to use a format like this:
$(document).on('click','element', function(){...});
Where element
is the element you want to bind the click event to. Using document
is kind of a worst-case scenario since you ideally want to use an element that exists when the DOM is loaded that is closer in the DOM hierarchy to the element that will be dynamically loaded.
From the jQuery .on() docs:
Event handlers are bound only to the currently selected elements; they
must exist on the page at the time your code makes the call to .on().
To ensure the elements are present and can be selected, perform event
binding inside a document ready handler for elements that are in the
HTML markup on the page. If new HTML is being injected into the page,
select the elements and attach event handlers after the new HTML is
placed into the page.