p tag click event jquery code example
Example 1: jquery $(document.on click
$(document).on("click","#test-element",function() {});
Example 2: set onclick jquery
$(elem).click(myFunc());
$(document).on("click","#test-element",function() {});
$(elem).click(myFunc());