I have created a new html element, and inserted it onto a node. However it doesn't have any listeners registered on the class name 'edit-expense-category' because of this. My code for registering this class name on page load is as follows:
$(".edit-expense-category").click(function () {
// function related stuff
});
What I'd like to know is once I have another element created dynamically using the class name above, how do I register this element with a listener as well?