SyntaxFix
Write A Post
Hire A Developer
Questions
If You Have Multiple li elements inside an li element then this will definitely help you, and i have checked it and it works....
li
<script> $("li").on('click', function() { alert(this.id); return false; }); </script>