title: How and when to use preventDefault()?
body: <p>From this <strong><a href="http://blog.nmsdvid.com/when-to-use-return-false-and-when-preventdefault/" rel="noreferrer">tutorial</a></strong>, it is said:</p>
  
  <blockquote>
    <p><code>preventDefault();</code> does one thing: It stops the browsers default
    behaviour.</p>
  </blockquote>
  
  <p>I searched online for the examples of <code>preventDefault()</code>, I can only see in two situations (link, form) we use <code>preventDefault()</code>: Prevent a submit button from submitting a form and prevent a link from following the URL.</p>
  
  <p>So, my question is:</p>
  
  <ol>
  <li><p>In what other situations can we use <code>preventDefault()</code>?</p></li>
  <li><p>How could I find out all the browsers default behaviour? e.g. if I click a button, what is the browsers default behaviour?</p></li>
  </ol>