title: How to detect all events added on a div
body: <p>I am new to jQuery and such kind of <strong>js</strong> frameworks. Till now I used to do like this</p>
  
  <pre><code>&lt;div onclick="function()"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>But in jQuery we get the element and add the event there. How can I detect all events added on a div?</p>
  
  <p>I have a div whose height is set to the remaining height. Then I cant find appropriate <strong>css</strong> for that. I strongly believe that it has been done from javascript. I cant find relavant code any where. I dont know how to debug this.</p>
  
  <p>Any help is highly appreciated. </p>