event handler .on() not working in jQuery

In my case it is not working In jQuery, when you dynamically create elements or modify existing ones, attaching event handlers can be a bit tricky. However,…