-
How to fix when jQuery click event not working.웹/jQuery 2021. 1. 11. 23:26반응형
In this way, the click event did not work.
$("#btnId").click( function() { // do it. }
I fixed it like this.
$(document).on("click", "#btnId", function() { // do it. }
It works well.
반응형