SyntaxFix
Write A Post
Hire A Developer
Questions
I am not sure why but I had this problem with
$(document).on("click", ".my-element", function (e) { });
When I changed it to
$(".my-element").click(function () { });
Problem was solved. But definitely something wrong in my code.