I have display html on page using jquery-ajax call. But javascript on that page not working for html added from jquery-ajax response. I tried "async:false " but this one working for on window load. I want to make it working for Click event as well. Is there any solution to use existing javascript for appended or replaced html on click event?
Asked
Active
Viewed 32 times
0
-
You need to use delegated event handlers when dealing with dynamically appended content. See the duplicate for more information – Rory McCrossan Jun 22 '18 at 08:43
-
i am using this code on load : – Navdeep Jun 22 '18 at 12:24