I encountered a problem in the project, an a tag was appended by jQuery. Then execute the click event to fail.
Use the following method to solve
$(document).off('click').on("click", "a.xxxClass", function() {
XXXXXX......
});
I encountered a problem in the project, an a tag was appended by jQuery. Then execute the click event to fail.
Use the following method to solve
$(document).off('click').on("click", "a.xxxClass", function() {
XXXXXX......
});