SyntaxFix
Write A Post
Hire A Developer
Questions
You are missing the event parameter on your function.
$(document).on("click",".appDetails", function (event) { alert(event.target.id); });