Can't stop bubbling.

Can't stop bubbling.

Hello all.

I cannot work out why this doesn't work. 

  1. $(document).ready(
  2.   function(){
  3.     // Actual jQuery goodness that moves the captions
  4.     // Set the default value for the caption
  5.     $('.boxcaption').live('click',
  6.       function(){
  7. console.log(this);
  8.       }
  9. );
  10.   }
  11. );

When I run the following and click on a .boxcaption element. It returns the this value 15 times, once for each .boxcaption that is on the page. I only want to return one value, which is the one I have clicked on.

What am I doing wrong?