title: What's the effect of adding void(0) for href and 'return false' on click event listener of anchor tag?
body: <p>What is the cumulative effect of following on anchor tag like below:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>/**
   * This function will create a popup iFrame (not a complete function)
   */
  function CreateIframe() {
     // This is just a sample and not complete code
     var iframe = document.createElement('iframe');
     // Initialize and create iFrame and popup iFrame 
  
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a href="javascript:void(0)" onclick="CreateIframe();return false;" &gt;Click here!&lt;/a&gt;
  
   </code></pre>
  </div>
  </div>
  </p>