Today I encountered a problem when writing JQUERY: when using a script to dynamically add element xxx, the event $(".x .y").click(function)... failed.
I just found the live function online. The method is as follows:
Event binding: $(".x .y").click(function) needs to be changed to: