title: Detect onclick of class using Javascript
body: <p>I am adding a class dynamically to some elements. And i need to get the innerHTML of the clicked element where the added class is present. Can anyone have any idea of how to get the innerhtml with refer to class?</p>
  
  <p>Please note that i don't want to use any Javascript libraries like jQuery.</p>