title: jQuery Refresh Captcha is Reloading Page
body: <p>Can you please take a look at this code and let me know why the <code>#reload</code> click event is reloading whole page instead of refreshing the <code>#cap-img</code> source?</p>
  
  <pre><code>&lt;div class="form-group"&gt;
     &lt;div class="input-group"&gt;
        &lt;span class="input-group-addon" id="input-group-addon-captcha"&gt;&lt;img id="cap-img" src="captcha.php"&gt;&lt;/span&gt;
        &lt;input id="seo-captcha" name="" class="form-control" placeholder="Please Enter Text" type="text"&gt;
        &lt;span class="input-group-addon seo-addon-right"&gt;&lt;button class="btn btn-xs btn-q" id="reload"&gt;&lt;span class="glyphicon glyphicon-refresh" aria-hidden="true"&gt;&lt;/span&gt;
        &lt;/button&gt;&lt;/span&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  
    &lt;script&gt;
    $(function() {            
      $('#reload').click(function(){  
       $('#cap-img').attr('src', 'captcha.php?' + (new Date).getTime());
      });
      });
   &lt;/script&gt;
  </code></pre>