title: Find which event is specified for an object using Javascript Or Jquery?
body: <p>Can we  get the properties of HTML elements, with using there name or id, like following:</p>
  
  <pre><code>document.getElementById('id').value; //Javascript** 
  
  $('#id').attr('class');  // jquery to get corresponding elements class**
  </code></pre>
  
  <p>And like these is there any way to get the specified event? In Html side I do this:</p>
  
  <pre><code>"&lt;"input name='student' onclick='show()'"&gt;"
  </code></pre>
  
  <p>My need is,
   then how do we get which event is specified for input student?</p>