jQuery .on() not working for dynamically added elements with custom data attributes
👀 Views: 0
💬 Answers: 1
📅 Created: 2025-08-21
jquery event-delegation dynamic-content
I'm facing an issue where I'm trying to use jQuery's `.on()` method to attach click events to dynamically created buttons that have custom data attributes. I ha...