title: Preventing event propagation
body: <pre><code>  function foos()
    {
      return false;
    }
  
    function foo()
     {
       concole.log("Maizere");
     }
  
  
  &lt;div onclick="foo()"&gt;
      &lt;button type="button" onclick="return foos()"&gt;Display Date&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Return false is not cancelling the event propagation ,but is said that it also prevents event propagation. Have i misunderstood it?</p>
  
  <p><a href="http://css-tricks.com/return-false-and-prevent-default/" rel="nofollow">Here</a> is the reference</p>