SyntaxFix
Write A Post
Hire A Developer
Questions
For reference, try this! It works!
jQuery("classNameofDiv").click(function() { var contentPanelId = jQuery(this).attr("id"); alert(contentPanelId); });